using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using ConsoleApplication2.Models.Mapping;

namespace ConsoleApplication2.Models
{
    public partial class HMS909Context : DbContext
    {
        static HMS909Context()
        {
            Database.SetInitializer<HMS909Context>(null);
        }

        public HMS909Context()
            : base("Name=HMS909Context")
        {
        }
        public DbSet<CustomerList> Customers { get; set; }
        public DbSet<Operations> Operations { get; set; }
        public DbSet<rooms> rooms { get; set; }
        public DbSet<AccRight> AccRights { get; set; }
        public DbSet<Acct> Accts { get; set; }
        public DbSet<ACCTCLASS> ACCTCLASSes { get; set; }
        public DbSet<AcctHeader> AcctHeaders { get; set; }
        public DbSet<AcctMatching> AcctMatchings { get; set; }
        public DbSet<AcctOpening> AcctOpenings { get; set; }
        public DbSet<Acctsum> Acctsums { get; set; }
        public DbSet<Acctttl> Acctttls { get; set; }
        public DbSet<AcctttlHist> AcctttlHists { get; set; }
        public DbSet<ACT_Category> ACT_Category { get; set; }
        public DbSet<ACT_Duration> ACT_Duration { get; set; }
        public DbSet<ACT_Hour> ACT_Hour { get; set; }
        public DbSet<ACT_InitiatedBy> ACT_InitiatedBy { get; set; }
        public DbSet<ACT_PartyType> ACT_PartyType { get; set; }
        public DbSet<ACT_Progress> ACT_Progress { get; set; }
        public DbSet<ACT_TASK> ACT_TASK { get; set; }
        public DbSet<AD_TRTProgress> AD_TRTProgress { get; set; }
        public DbSet<AdjHeader> AdjHeaders { get; set; }
        public DbSet<ADM_EMGLOC> ADM_EMGLOC { get; set; }
        public DbSet<ADM_EMGSTATUS> ADM_EMGSTATUS { get; set; }
        public DbSet<ADM_EMGTRANS> ADM_EMGTRANS { get; set; }
        public DbSet<adm_ent> adm_ent { get; set; }
        public DbSet<ADM_TSFPARTY> ADM_TSFPARTY { get; set; }
        public DbSet<admision> admisions { get; set; }
        public DbSet<AdmLbltbl> AdmLbltbls { get; set; }
        public DbSet<Aging> Agings { get; set; }
        public DbSet<AL_allergy> AL_allergy { get; set; }
        public DbSet<AL_PatAllergy> AL_PatAllergy { get; set; }
        public DbSet<AL_Reaction> AL_Reaction { get; set; }
        public DbSet<AL_Severity> AL_Severity { get; set; }
        public DbSet<Al_Status> Al_Status { get; set; }
        public DbSet<AL_Type> AL_Type { get; set; }
        public DbSet<Ap> Aps { get; set; }
        public DbSet<Apaging> Apagings { get; set; }
        public DbSet<Apbatch> Apbatches { get; set; }
        public DbSet<Apbtchdt> Apbtchdts { get; set; }
        public DbSet<Apdet> Apdets { get; set; }
        public DbSet<Apmemo> Apmemoes { get; set; }
        public DbSet<ApPaydet> ApPaydets { get; set; }
        public DbSet<appliance> appliances { get; set; }
        public DbSet<Approved_invoices_paid> Approved_invoices_paid { get; set; }
        public DbSet<ApPymt> ApPymts { get; set; }
        public DbSet<Ar> Ars { get; set; }
        public DbSet<Araging> Aragings { get; set; }
        public DbSet<Arbatch> Arbatches { get; set; }
        public DbSet<Arbtchdt> Arbtchdts { get; set; }
        public DbSet<ARC_Apdet> ARC_Apdet { get; set; }
        public DbSet<ARC_Oe> ARC_Oe { get; set; }
        public DbSet<ARC_Oedet> ARC_Oedet { get; set; }
        public DbSet<Area> Areas { get; set; }
        public DbSet<Armemo> Armemoes { get; set; }
        public DbSet<ARTINDEXER> ARTINDEXERs { get; set; }
        public DbSet<Assembly> Assemblies { get; set; }
        public DbSet<AssetAudit> AssetAudits { get; set; }
        public DbSet<AT2_Audit> AT2_Audit { get; set; }
        public DbSet<AT2_Map> AT2_Map { get; set; }
        public DbSet<AT2_Name> AT2_Name { get; set; }
        public DbSet<ATH_Attachement> ATH_Attachement { get; set; }
        public DbSet<ATL_Action> ATL_Action { get; set; }
        public DbSet<ATL_Bills> ATL_Bills { get; set; }
        public DbSet<ATL_Component> ATL_Component { get; set; }
        public DbSet<ATL_Log> ATL_Log { get; set; }
        public DbSet<ATL_Payments> ATL_Payments { get; set; }
        public DbSet<ATS_TestResults> ATS_TestResults { get; set; }
        public DbSet<AuditAction> AuditActions { get; set; }
        public DbSet<AuditTrail> AuditTrails { get; set; }
        public DbSet<AutoInsertItem> AutoInsertItems { get; set; }
        public DbSet<Banklist> Banklists { get; set; }
        public DbSet<Banktype> Banktypes { get; set; }
        public DbSet<BatchClassification> BatchClassifications { get; set; }
        public DbSet<Batchdet> Batchdets { get; set; }
        public DbSet<Batchttl> Batchttls { get; set; }
        public DbSet<BeginCash> BeginCashes { get; set; }
        public DbSet<BillOfMaterial> BillOfMaterials { get; set; }
        public DbSet<biomec> biomecs { get; set; }
        public DbSet<BL_GuarBillingClass> BL_GuarBillingClass { get; set; }
        public DbSet<BloodGroup> BloodGroups { get; set; }
        public DbSet<BND_Header> BND_Header { get; set; }
        public DbSet<BND_LINK> BND_LINK { get; set; }
        public DbSet<BND_PKT_LINK> BND_PKT_LINK { get; set; }
        public DbSet<br_ReportList> br_ReportList { get; set; }
        public DbSet<Brand> Brands { get; set; }
        public DbSet<Kadaa> Kadaas { get; set; }
        public DbSet<KitItem> KitItems { get; set; }
        public DbSet<LabelForm> LabelForms { get; set; }
        public DbSet<Letter> Letters { get; set; }
        public DbSet<LIC_Feature> LIC_Feature { get; set; }
        public DbSet<Location> Locations { get; set; }
        public DbSet<LookupTitle> LookupTitles { get; set; }
        public DbSet<LookupValue> LookupValues { get; set; }
        public DbSet<LU_department> LU_department { get; set; }
        public DbSet<MAIN_Menu> MAIN_Menu { get; set; }
        public DbSet<mechanic> mechanics { get; set; }
        public DbSet<medical> medicals { get; set; }
        public DbSet<MEM_HEAP> MEM_HEAP { get; set; }
        public DbSet<Module> Modules { get; set; }
        public DbSet<Mouhafaza> Mouhafazas { get; set; }
        public DbSet<mtn_machine> mtn_machine { get; set; }
        public DbSet<mtn_Procedures> mtn_Procedures { get; set; }
        public DbSet<mtn_RefInteg> mtn_RefInteg { get; set; }
        public DbSet<mtn_utilization> mtn_utilization { get; set; }

        public DbSet<Doctors> Doctors { get; set; }
        public DbSet<SpecialtyMD> SpecialtyMD { get; set; }
        public DbSet<Rank> Rank { get; set; }


        public DbSet<Name> Names { get; set; }
        public DbSet<NamesDic> NamesDics { get; set; }
        public DbSet<Nationality> Nationalities { get; set; }
        public DbSet<NewBorn> NewBorns { get; set; }
        public DbSet<NPD_Note> NPD_Note { get; set; }
        public DbSet<NPD_NoteConfig> NPD_NoteConfig { get; set; }
        public DbSet<NPD_Status> NPD_Status { get; set; }
        public DbSet<occlusio> occlusios { get; set; }
        public DbSet<Oe> Oes { get; set; }
        public DbSet<OE_ORDER> OE_ORDER { get; set; }
        public DbSet<oe_OrderStatus> oe_OrderStatus { get; set; }
        public DbSet<OE_OrderType> OE_OrderType { get; set; }
        public DbSet<OE_Policy> OE_Policy { get; set; }
        public DbSet<Oe_Priority> Oe_Priority { get; set; }
        public DbSet<OE_SelectedItem> OE_SelectedItem { get; set; }
        public DbSet<Oe_Status> Oe_Status { get; set; }
        public DbSet<OE_StatusLog> OE_StatusLog { get; set; }
        public DbSet<Oedet> Oedets { get; set; }
        public DbSet<OERPConf> OERPConfs { get; set; }
        public DbSet<OH_ItemActivity> OH_ItemActivity { get; set; }
        public DbSet<Op_priority> Op_priority { get; set; }
        public DbSet<opertbl> opertbls { get; set; }
        public DbSet<opertbl1> opertbl1 { get; set; }
        public DbSet<OR_ANASA> OR_ANASA { get; set; }
        public DbSet<OR_ANINBlade> OR_ANINBlade { get; set; }
        public DbSet<OR_ANINRoute> OR_ANINRoute { get; set; }
        public DbSet<OR_ANMethod> OR_ANMethod { get; set; }
        public DbSet<OR_BodySite> OR_BodySite { get; set; }
        public DbSet<OR_Booking> OR_Booking { get; set; }
        public DbSet<OR_BookingStatus> OR_BookingStatus { get; set; }
        public DbSet<OR_Equipment> OR_Equipment { get; set; }
        public DbSet<OR_Oper> OR_Oper { get; set; }
        public DbSet<OR_OperEquip> OR_OperEquip { get; set; }
        public DbSet<OR_OperStaff> OR_OperStaff { get; set; }
        public DbSet<OR_Room> OR_Room { get; set; }
        public DbSet<OR_StaffRole> OR_StaffRole { get; set; }
        public DbSet<OrderFacility> OrderFacilities { get; set; }
        public DbSet<ortho> orthoes { get; set; }
        public DbSet<Parent> Parents { get; set; }
        public DbSet<patient1> patient1 { get; set; }
        public DbSet<PatReferral> PatReferrals { get; set; }
        public DbSet<Paydet> Paydets { get; set; }
        public DbSet<Payment> Payments { get; set; }
        public DbSet<PER_Exam> PER_Exam { get; set; }
        public DbSet<PER_ExamLine> PER_ExamLine { get; set; }
        public DbSet<PER_Sequence> PER_Sequence { get; set; }
        public DbSet<Per_Threshold> Per_Threshold { get; set; }
        public DbSet<perio_pl> perio_pl { get; set; }
        public DbSet<perioch> perioches { get; set; }
        public DbSet<Period> Periods { get; set; }
        public DbSet<PHRATE> PHRATES { get; set; }
        public DbSet<PhysFeesCategory> PhysFeesCategories { get; set; }
        public DbSet<PhysFeesItem> PhysFeesItems { get; set; }
        public DbSet<PhysFeesPlan> PhysFeesPlans { get; set; }
        public DbSet<PhysFeesType> PhysFeesTypes { get; set; }
        public DbSet<PhysicalSite> PhysicalSites { get; set; }
        public DbSet<PIM_Domain> PIM_Domain { get; set; }
        public DbSet<PIM_Info> PIM_Info { get; set; }
        public DbSet<PIM_PKT_Domain> PIM_PKT_Domain { get; set; }
        public DbSet<PIM_PKT_Info> PIM_PKT_Info { get; set; }
        public DbSet<PInventoryLog> PInventoryLogs { get; set; }
        public DbSet<PKT_AcctBalances> PKT_AcctBalances { get; set; }
        public DbSet<PKT_AcctTrans> PKT_AcctTrans { get; set; }
        public DbSet<PKT_Bills> PKT_Bills { get; set; }
        public DbSet<PKT_CustBalances> PKT_CustBalances { get; set; }
        public DbSet<PKT_EVAL> PKT_EVAL { get; set; }
        public DbSet<PKT_ItemActivity> PKT_ItemActivity { get; set; }
        public DbSet<PKT_SPD_BUFFER> PKT_SPD_BUFFER { get; set; }
        public DbSet<PKT_SummaryBatch> PKT_SummaryBatch { get; set; }
        public DbSet<PKT_VendBalances> PKT_VendBalances { get; set; }
        public DbSet<pobirth> pobirths { get; set; }
        public DbSet<prcdic> prcdics { get; set; }
        public DbSet<Prescdetail> Prescdetails { get; set; }
        public DbSet<Prescription> Prescriptions { get; set; }
        public DbSet<PRF_Preference> PRF_Preference { get; set; }
        public DbSet<PriceLst> PriceLsts { get; set; }
        public DbSet<Project> Projects { get; set; }
        public DbSet<P> Ps { get; set; }
        public DbSet<Psdet> Psdets { get; set; }
        public DbSet<PSDetJob> PSDetJobs { get; set; }
        public DbSet<Psname> Psnames { get; set; }
        public DbSet<PSPayment> PSPayments { get; set; }
        public DbSet<PT_Physio> PT_Physio { get; set; }
        public DbSet<PT_Procedure> PT_Procedure { get; set; }
        public DbSet<PT_Session> PT_Session { get; set; }
        public DbSet<Rate> Rates { get; set; }
        public DbSet<RD_ClearRecords> RD_ClearRecords { get; set; }
        public DbSet<RD_Scan> RD_Scan { get; set; }
        public DbSet<rd_temp> rd_temp { get; set; }
        public DbSet<Recall> Recalls { get; set; }
        public DbSet<Referal> Referals { get; set; }
        public DbSet<Refund> Refunds { get; set; }
        public DbSet<Register> Registers { get; set; }
        public DbSet<religion> religions { get; set; }
        public DbSet<RenumBatch> RenumBatches { get; set; }
        public DbSet<Repair> Repairs { get; set; }
        public DbSet<RepairType> RepairTypes { get; set; }
        public DbSet<ReportParam> ReportParams { get; set; }
        public DbSet<req_test_results> req_test_results { get; set; }
        public DbSet<req_tests> req_tests { get; set; }
        public DbSet<request> requests { get; set; }
        public DbSet<Result> Results { get; set; }
        public DbSet<rp_Bills> rp_Bills { get; set; }
        public DbSet<rp_Payments> rp_Payments { get; set; }
        public DbSet<RX_details> RX_details { get; set; }
        public DbSet<RX_DispenseTime> RX_DispenseTime { get; set; }
        public DbSet<RX_Duration> RX_Duration { get; set; }
        public DbSet<RX_Form> RX_Form { get; set; }
        public DbSet<RX_Frequency> RX_Frequency { get; set; }
        public DbSet<RX_instruction> RX_instruction { get; set; }
        public DbSet<Rx_Medication> Rx_Medication { get; set; }
        public DbSet<RX_Prescription> RX_Prescription { get; set; }
        public DbSet<rx_Route> rx_Route { get; set; }
        public DbSet<Rx_UOM> Rx_UOM { get; set; }
        public DbSet<RXCategory> RXCategories { get; set; }
        public DbSet<RXList> RXLists { get; set; }
        public DbSet<SA_Followup> SA_Followup { get; set; }
        public DbSet<Sale_Discount_History> Sale_Discount_History { get; set; }
        public DbSet<SalesHistory> SalesHistories { get; set; }
        public DbSet<Salesman> Salesmen { get; set; }
        public DbSet<sc_cfg> sc_cfg { get; set; }
        public DbSet<sc_log> sc_log { get; set; }
        public DbSet<sc_room> sc_room { get; set; }
        public DbSet<schedule> schedules { get; set; }
        public DbSet<scid> scids { get; set; }
        public DbSet<SD_Class> SD_Class { get; set; }
        public DbSet<SD_Class_Status> SD_Class_Status { get; set; }
        public DbSet<SD_Course> SD_Course { get; set; }
        public DbSet<SD_Eval> SD_Eval { get; set; }
        public DbSet<SD_Eval_Status> SD_Eval_Status { get; set; }
        public DbSet<SD_GradeDet> SD_GradeDet { get; set; }
        public DbSet<SD_GrdBreakup> SD_GrdBreakup { get; set; }
        public DbSet<SD_PKT_Class> SD_PKT_Class { get; set; }
        public DbSet<SD_PKT_Course> SD_PKT_Course { get; set; }
        public DbSet<SD_PKT_Eval> SD_PKT_Eval { get; set; }
        public DbSet<SD_PKT_Reg> SD_PKT_Reg { get; set; }
        public DbSet<SD_PKT_Student> SD_PKT_Student { get; set; }
        public DbSet<SD_PKT_Teacher> SD_PKT_Teacher { get; set; }
        public DbSet<SD_PKT_Term> SD_PKT_Term { get; set; }
        public DbSet<SD_Reg> SD_Reg { get; set; }
        public DbSet<SD_Reg_Status> SD_Reg_Status { get; set; }
        public DbSet<SD_Student> SD_Student { get; set; }
        public DbSet<SD_Student_Status> SD_Student_Status { get; set; }
        public DbSet<SD_Teacher> SD_Teacher { get; set; }
        public DbSet<SD_Term> SD_Term { get; set; }
        public DbSet<season> seasons { get; set; }
        public DbSet<shade> shades { get; set; }
        public DbSet<Shipto> Shiptoes { get; set; }
        public DbSet<Site> Sites { get; set; }
        public DbSet<SITMTYPE> SITMTYPEs { get; set; }
        public DbSet<SLINDEXER> SLINDEXERs { get; set; }
        public DbSet<SLOC> SLOCs { get; set; }
        public DbSet<SM_INDUSTRY> SM_INDUSTRY { get; set; }
        public DbSet<SM_LEAD_INTEREST_LEVEL> SM_LEAD_INTEREST_LEVEL { get; set; }
        public DbSet<SM_LEAD_RATING> SM_LEAD_RATING { get; set; }
        public DbSet<SM_LEAD_SOURCE> SM_LEAD_SOURCE { get; set; }
        public DbSet<SM_LEAD_STATUS> SM_LEAD_STATUS { get; set; }
        public DbSet<SM_Opportunity> SM_Opportunity { get; set; }
        public DbSet<SM_Overhead> SM_Overhead { get; set; }
        public DbSet<SM_OverheadType> SM_OverheadType { get; set; }
        public DbSet<SM_PKT_Overhead> SM_PKT_Overhead { get; set; }
        public DbSet<SM_PKT_Pricing> SM_PKT_Pricing { get; set; }
        public DbSet<SM_Pricing> SM_Pricing { get; set; }
        public DbSet<so_AcctStatement> so_AcctStatement { get; set; }
        public DbSet<so_options> so_options { get; set; }
        public DbSet<so_ssearches> so_ssearches { get; set; }
        public DbSet<Specialty> Specialties { get; set; }
        public DbSet<spt_patchlog> spt_patchlog { get; set; }
        public DbSet<Store> Stores { get; set; }
        public DbSet<SubItem> SubItems { get; set; }
        public DbSet<Sy> Sys { get; set; }
        public DbSet<system> systems { get; set; }
        public DbSet<Table1> Table1 { get; set; }
        public DbSet<Table2> Table2 { get; set; }
        public DbSet<TaskStatu> TaskStatus { get; set; }
        public DbSet<tbs_VERIFY> tbs_VERIFY { get; set; }
        public DbSet<Technician> Technicians { get; set; }
        public DbSet<Tip_TipList> Tip_TipList { get; set; }
        public DbSet<TL_Junction> TL_Junction { get; set; }
        public DbSet<TL_JunctionType> TL_JunctionType { get; set; }
        public DbSet<TM_Time> TM_Time { get; set; }
        public DbSet<TPI_AcctMatch> TPI_AcctMatch { get; set; }
        public DbSet<TPI_APP> TPI_APP { get; set; }
        public DbSet<TPI_DEPARTMENT> TPI_DEPARTMENT { get; set; }
        public DbSet<TPI_ICD10> TPI_ICD10 { get; set; }
        public DbSet<TPI_Interface> TPI_Interface { get; set; }
        public DbSet<TPI_ITEM> TPI_ITEM { get; set; }
        public DbSet<TPI_LOG> TPI_LOG { get; set; }
        public DbSet<TPI_LogLine> TPI_LogLine { get; set; }
        public DbSet<TPI_LOGTrans> TPI_LOGTrans { get; set; }
        public DbSet<TPI_PHYSICIAN> TPI_PHYSICIAN { get; set; }
        public DbSet<TPI_ROOM> TPI_ROOM { get; set; }
        public DbSet<TPI_USER> TPI_USER { get; set; }
        public DbSet<Traffic> Traffic { get; set; }
        public DbSet<Transfer> Transfers { get; set; }
        public DbSet<TransferDet> TransferDets { get; set; }
        public DbSet<TreatmentPlan> TreatmentPlans { get; set; }
        public DbSet<TretPlanBalance> TretPlanBalances { get; set; }
        public DbSet<TRT_Diagnosis> TRT_Diagnosis { get; set; }
        public DbSet<TRT_Procedure> TRT_Procedure { get; set; }
        public DbSet<TypeCoverageExcept> TypeCoverageExcepts { get; set; }
        public DbSet<TypePriceExcept> TypePriceExcepts { get; set; }
        public DbSet<UDF_ControlType> UDF_ControlType { get; set; }
        public DbSet<UDF_DataType> UDF_DataType { get; set; }
        public DbSet<UDF_Field> UDF_Field { get; set; }
        public DbSet<UDF_FieldType> UDF_FieldType { get; set; }
        public DbSet<UDF_FormOptions> UDF_FormOptions { get; set; }
        public DbSet<UDF_LookupType> UDF_LookupType { get; set; }
        public DbSet<UDF_Page> UDF_Page { get; set; }
        public DbSet<UDF_PKT_COPY> UDF_PKT_COPY { get; set; }
        public DbSet<UDF_PKT_Field> UDF_PKT_Field { get; set; }
        public DbSet<UDF_PKT_FieldValue> UDF_PKT_FieldValue { get; set; }
        public DbSet<UDF_PKT_Header> UDF_PKT_Header { get; set; }
        public DbSet<UDF_PKT_Import> UDF_PKT_Import { get; set; }
        public DbSet<UDF_PKT_Lines> UDF_PKT_Lines { get; set; }
        public DbSet<UDF_RecordType> UDF_RecordType { get; set; }
        public DbSet<UF_Form> UF_Form { get; set; }
        public DbSet<UF_FormType> UF_FormType { get; set; }
        public DbSet<Unit> Units { get; set; }
        public DbSet<UNIT1> UNITS1 { get; set; }
        public DbSet<UNITSCONVERSION> UNITSCONVERSIONS { get; set; }
        public DbSet<UserType> UserTypes { get; set; }
        public DbSet<Vbatchdet> Vbatchdets { get; set; }
        public DbSet<Vend> Vends { get; set; }
        public DbSet<VENDTYPE> VENDTYPEs { get; set; }
        public DbSet<vertex> vertices { get; set; }
        public DbSet<video> videos { get; set; }
        public DbSet<ViewParam> ViewParams { get; set; }
        public DbSet<Ward> Wards { get; set; }
        public DbSet<WF_Action> WF_Action { get; set; }
        public DbSet<WF_Notification> WF_Notification { get; set; }
        public DbSet<WF_NotificationStatus> WF_NotificationStatus { get; set; }
        public DbSet<WF_Priority> WF_Priority { get; set; }
        public DbSet<WF_RecordType> WF_RecordType { get; set; }
        public DbSet<WF_Request> WF_Request { get; set; }
        public DbSet<WF_Response> WF_Response { get; set; }
        public DbSet<WF_Status> WF_Status { get; set; }
        public DbSet<WF_Step> WF_Step { get; set; }
        public DbSet<WF_Workflow> WF_Workflow { get; set; }
        public DbSet<WF_WorkFlowType> WF_WorkFlowType { get; set; }
        public DbSet<Worker> Workers { get; set; }
        public DbSet<worktype> worktypes { get; set; }
        public DbSet<ap_pymtdecr> ap_pymtdecr { get; set; }
        public DbSet<apInvbatchdetail> apInvbatchdetails { get; set; }
        public DbSet<apInvbatchheader> apInvbatchheaders { get; set; }
        public DbSet<ARC_SO_BillHEADER> ARC_SO_BillHEADER { get; set; }
        public DbSet<ARdetail> ARdetails { get; set; }
        public DbSet<ARView> ARViews { get; set; }
        public DbSet<ATL_oe_Delete_VW> ATL_oe_Delete_VW { get; set; }
        public DbSet<br_Accounting> br_Accounting { get; set; }
        public DbSet<br_AdmDisc> br_AdmDisc { get; set; }
        public DbSet<br_Billing> br_Billing { get; set; }
        public DbSet<br_Cashier> br_Cashier { get; set; }
        public DbSet<br_FixedAsset> br_FixedAsset { get; set; }
        public DbSet<br_HR> br_HR { get; set; }
        public DbSet<br_Items> br_Items { get; set; }
        public DbSet<br_MISC> br_MISC { get; set; }
        public DbSet<br_repair> br_repair { get; set; }
        public DbSet<Br_ReportForms> Br_ReportForms { get; set; }
        public DbSet<br_Trans> br_Trans { get; set; }
        public DbSet<CMV_GuarPayments> CMV_GuarPayments { get; set; }
        public DbSet<ct_custbal> ct_custbal { get; set; }
        public DbSet<data_to_insert_into_viewcommands> data_to_insert_into_viewcommands { get; set; }
        public DbSet<data_to_insert_into_viewcommands1> data_to_insert_into_viewcommands1 { get; set; }
        public DbSet<databasesList> databasesLists { get; set; }
        public DbSet<GuarApprovedPayment> GuarApprovedPayments { get; set; }
        public DbSet<ItemPricesinallGuarantor> ItemPricesinallGuarantors { get; set; }
        public DbSet<ItemPricesinallGuarantor_F> ItemPricesinallGuarantor_F { get; set; }
        public DbSet<mg_config> mg_config { get; set; }
        public DbSet<mg_errors> mg_errors { get; set; }
        public DbSet<mg_errors_NB> mg_errors_NB { get; set; }
        public DbSet<mtn_allBatchNb> mtn_allBatchNb { get; set; }
        public DbSet<OBj_Tables_RecCount_v> OBj_Tables_RecCount_v { get; set; }
        public DbSet<OEPhysician> OEPhysicians { get; set; }
        public DbSet<Patcat> Patcats { get; set; }
        public DbSet<Patient> Patients { get; set; }
        public DbSet<Physician_Statement> Physician_Statement { get; set; }
        public DbSet<PhysicianPriceGuarantor> PhysicianPriceGuarantors { get; set; }
        public DbSet<PhysicianPriceGuarantor_F> PhysicianPriceGuarantor_F { get; set; }
        public DbSet<procentr> procentrs { get; set; }
        public DbSet<procentr_Dev> procentr_Dev { get; set; }
        public DbSet<RD_Relations> RD_Relations { get; set; }
        public DbSet<RD_ViewsLinks> RD_ViewsLinks { get; set; }
        public DbSet<Replication_getSysteminFo> Replication_getSysteminFo { get; set; }
        public DbSet<sc_AppInfo> sc_AppInfo { get; set; }
        public DbSet<sc_AppList> sc_AppList { get; set; }
        public DbSet<sc_future_app> sc_future_app { get; set; }
        public DbSet<sc_PatInfo> sc_PatInfo { get; set; }
        public DbSet<selectfromtbl> selectfromtbls { get; set; }
        public DbSet<so_acct> so_acct { get; set; }
        public DbSet<so_acctpayments> so_acctpayments { get; set; }
        public DbSet<so_AcctWriting> so_AcctWriting { get; set; }
        public DbSet<so_AdjHeader> so_AdjHeader { get; set; }
        public DbSet<SO_ADM_NO_EDX> SO_ADM_NO_EDX { get; set; }
        public DbSet<SO_ADMEXDCOVER> SO_ADMEXDCOVER { get; set; }
        public DbSet<SO_ADMISION> SO_ADMISION { get; set; }
        public DbSet<SO_ADMISIONDent> SO_ADMISIONDent { get; set; }
        public DbSet<SO_admisionPick> SO_admisionPick { get; set; }
        public DbSet<SO_admisionPickDent> SO_admisionPickDent { get; set; }
        public DbSet<so_AdmPayments> so_AdmPayments { get; set; }
        public DbSet<so_AllAppStat> so_AllAppStat { get; set; }
        public DbSet<so_AllGuarBal_> so_AllGuarBal_ { get; set; }
        public DbSet<so_allGuarBal__> so_allGuarBal__ { get; set; }
        public DbSet<so_AllPatBal_> so_AllPatBal_ { get; set; }
        public DbSet<so_AllPayments> so_AllPayments { get; set; }
        public DbSet<so_AllPhysBal__> so_AllPhysBal__ { get; set; }
        public DbSet<so_AllPhysBal___> so_AllPhysBal___ { get; set; }
        public DbSet<so_AllRepairjobs> so_AllRepairjobs { get; set; }
        public DbSet<so_alltickets> so_alltickets { get; set; }
        public DbSet<SO_AppToday> SO_AppToday { get; set; }
        public DbSet<SO_AppTomorrow> SO_AppTomorrow { get; set; }
        public DbSet<SO_APR_Bill_BALG> SO_APR_Bill_BALG { get; set; }
        public DbSet<so_artindexer> so_artindexer { get; set; }
        public DbSet<so_AtdAppstat> so_AtdAppstat { get; set; }
        public DbSet<so_batchdet> so_batchdet { get; set; }
        public DbSet<so_batchdet_F> so_batchdet_F { get; set; }
        public DbSet<so_batches> so_batches { get; set; }
        public DbSet<SO_Bill_BAL_GUAR> SO_Bill_BAL_GUAR { get; set; }
        public DbSet<SO_Bill_BAL_GUAR_FAST> SO_Bill_BAL_GUAR_FAST { get; set; }
        public DbSet<SO_Bill_BAL_GUAR1> SO_Bill_BAL_GUAR1 { get; set; }
        public DbSet<SO_Bill_BAL_GUAR1_FAST> SO_Bill_BAL_GUAR1_FAST { get; set; }
        public DbSet<SO_Bill_BAL_GUAR2> SO_Bill_BAL_GUAR2 { get; set; }
        public DbSet<SO_Bill_BAL_GUAR2_FAST> SO_Bill_BAL_GUAR2_FAST { get; set; }
        public DbSet<SO_Bill_BAL_PAT> SO_Bill_BAL_PAT { get; set; }
        public DbSet<SO_Bill_BAL_PAT_F> SO_Bill_BAL_PAT_F { get; set; }
        public DbSet<SO_Bill_BAL_PAT_TF> SO_Bill_BAL_PAT_TF { get; set; }
        public DbSet<SO_Bill_BAL_STAFF> SO_Bill_BAL_STAFF { get; set; }
        public DbSet<SO_Bill_Balance> SO_Bill_Balance { get; set; }
        public DbSet<SO_BillDETAIL> SO_BillDETAIL { get; set; }
        public DbSet<SO_BillDETAILsums> SO_BillDETAILsums { get; set; }
        public DbSet<SO_BillHeader> SO_BillHeader { get; set; }
        public DbSet<SO_BillNotclose> SO_BillNotclose { get; set; }
        public DbSet<SO_Bills_no_Ar> SO_Bills_no_Ar { get; set; }
        public DbSet<SO_Billunfinished> SO_Billunfinished { get; set; }
        public DbSet<so_consolidatecust> so_consolidatecust { get; set; }
        public DbSet<so_Consolidatevend> so_Consolidatevend { get; set; }
        public DbSet<SO_CONTRACT> SO_CONTRACT { get; set; }
        public DbSet<SO_CONTRACTDET> SO_CONTRACTDET { get; set; }
        public DbSet<so_CostCenter> so_CostCenter { get; set; }
        public DbSet<so_costtype> so_costtype { get; set; }
        public DbSet<SO_COVERAGEPLAN> SO_COVERAGEPLAN { get; set; }
        public DbSet<so_crPatients> so_crPatients { get; set; }
        public DbSet<so_currency> so_currency { get; set; }
        public DbSet<SO_CURRENTadmision> SO_CURRENTadmision { get; set; }
        public DbSet<SO_CurrentBills> SO_CurrentBills { get; set; }
        public DbSet<SO_CURRENTdent> SO_CURRENTdent { get; set; }
        public DbSet<so_cust_Bal> so_cust_Bal { get; set; }
        public DbSet<SO_DENTALLAB> SO_DENTALLAB { get; set; }
        public DbSet<so_department> so_department { get; set; }
        public DbSet<SO_DIAGNOSIS> SO_DIAGNOSIS { get; set; }
        public DbSet<SO_DiagnosisCateg> SO_DiagnosisCateg { get; set; }
        public DbSet<SO_DiagnosisType> SO_DiagnosisType { get; set; }
        public DbSet<So_Dl_AllWO> So_Dl_AllWO { get; set; }
        public DbSet<So_Dl_CompWO> So_Dl_CompWO { get; set; }
        public DbSet<So_Dl_deliveredWO> So_Dl_deliveredWO { get; set; }
        public DbSet<So_DL_NewWO> So_DL_NewWO { get; set; }
        public DbSet<So_DL_StartedWO> So_DL_StartedWO { get; set; }
        public DbSet<so_dm> so_dm { get; set; }
        public DbSet<SO_DMbill> SO_DMbill { get; set; }
        public DbSet<SO_DMIMG> SO_DMIMG { get; set; }
        public DbSet<SO_DMLab> SO_DMLab { get; set; }
        public DbSet<SO_DMMR> SO_DMMR { get; set; }
        public DbSet<SO_DMpatient> SO_DMpatient { get; set; }
        public DbSet<so_DynaCom> so_DynaCom { get; set; }
        public DbSet<so_exchangeorder> so_exchangeorder { get; set; }
        public DbSet<so_EyeForm> so_EyeForm { get; set; }
        public DbSet<so_EyeTreat> so_EyeTreat { get; set; }
        public DbSet<SO_facat> SO_facat { get; set; }
        public DbSet<So_FacEngaged> So_FacEngaged { get; set; }
        public DbSet<So_Facilities> So_Facilities { get; set; }
        public DbSet<So_FacilitiesEmpty> So_FacilitiesEmpty { get; set; }
        public DbSet<So_FacilitiesEngaged> So_FacilitiesEngaged { get; set; }
        public DbSet<SO_FACILITY> SO_FACILITY { get; set; }
        public DbSet<So_FeesPlans> So_FeesPlans { get; set; }
        public DbSet<so_fieldnames> so_fieldnames { get; set; }
        public DbSet<SO_FixedAssets> SO_FixedAssets { get; set; }
        public DbSet<so_gal_airline> so_gal_airline { get; set; }
        public DbSet<so_gal_amtrak> so_gal_amtrak { get; set; }
        public DbSet<so_gal_farebasis> so_gal_farebasis { get; set; }
        public DbSet<so_gal_fareconst> so_gal_fareconst { get; set; }
        public DbSet<so_gal_farevalue> so_gal_farevalue { get; set; }
        public DbSet<so_gal_header> so_gal_header { get; set; }
        public DbSet<SO_gal_memo> SO_gal_memo { get; set; }
        public DbSet<so_gal_netremit> so_gal_netremit { get; set; }
        public DbSet<so_gal_passenger> so_gal_passenger { get; set; }
        public DbSet<so_gal_payment> so_gal_payment { get; set; }
        public DbSet<so_gal_phone> so_gal_phone { get; set; }
        public DbSet<so_gal_ticketrem> so_gal_ticketrem { get; set; }
        public DbSet<so_gal_vat> so_gal_vat { get; set; }
        public DbSet<SO_GUAR1_STATMENT> SO_GUAR1_STATMENT { get; set; }
        public DbSet<SO_GUAR2_STATEMENT> SO_GUAR2_STATEMENT { get; set; }
        public DbSet<SO_GUARANTOR> SO_GUARANTOR { get; set; }
        public DbSet<so_GuarOe> so_GuarOe { get; set; }
        public DbSet<So_GUARPayments> So_GUARPayments { get; set; }
        public DbSet<so_GuarStatement> so_GuarStatement { get; set; }
        public DbSet<so_HeaderStatement> so_HeaderStatement { get; set; }
        public DbSet<so_HR_Employee> so_HR_Employee { get; set; }
        public DbSet<so_hr_insured> so_hr_insured { get; set; }
        public DbSet<so_hr_saoudis> so_hr_saoudis { get; set; }
        public DbSet<so_hr_saoudization> so_hr_saoudization { get; set; }
        public DbSet<so_hr_sponother> so_hr_sponother { get; set; }
        public DbSet<SO_INVOICEDETAIL> SO_INVOICEDETAIL { get; set; }
        public DbSet<SO_INVOICEHEADER> SO_INVOICEHEADER { get; set; }
        public DbSet<so_iohSmen> so_iohSmen { get; set; }
        public DbSet<so_iooSmen> so_iooSmen { get; set; }
        public DbSet<so_ippayments> so_ippayments { get; set; }
        public DbSet<SO_ITEM> SO_ITEM { get; set; }
        public DbSet<SO_ITEM_STAT> SO_ITEM_STAT { get; set; }
        public DbSet<so_ItemActivity> so_ItemActivity { get; set; }
        public DbSet<so_itemCateg> so_itemCateg { get; set; }
        public DbSet<so_itemCosts> so_itemCosts { get; set; }
        public DbSet<so_ItemDim> so_ItemDim { get; set; }
        public DbSet<SO_ITEMHilti> SO_ITEMHilti { get; set; }
        public DbSet<so_iteminfoshort> so_iteminfoshort { get; set; }
        public DbSet<so_itemLong> so_itemLong { get; set; }
        public DbSet<so_ItemOnHand> so_ItemOnHand { get; set; }
        public DbSet<so_itemOnhandFast> so_itemOnhandFast { get; set; }
        public DbSet<so_itemOnhandFdet> so_itemOnhandFdet { get; set; }
        public DbSet<SO_ITEMPRICELIST> SO_ITEMPRICELIST { get; set; }
        public DbSet<so_itemtype> so_itemtype { get; set; }
        public DbSet<so_JobCost> so_JobCost { get; set; }
        public DbSet<so_JobsCLosed> so_JobsCLosed { get; set; }
        public DbSet<so_JobsForDelivery> so_JobsForDelivery { get; set; }
        public DbSet<so_JobsToApprove> so_JobsToApprove { get; set; }
        public DbSet<so_JobsToQuote> so_JobsToQuote { get; set; }
        public DbSet<so_JobsUnderWork> so_JobsUnderWork { get; set; }
        public DbSet<SO_LabReq> SO_LabReq { get; set; }
        public DbSet<SO_LabTest> SO_LabTest { get; set; }
        public DbSet<so_links> so_links { get; set; }
        public DbSet<so_List_of_Price> so_List_of_Price { get; set; }
        public DbSet<so_Location> so_Location { get; set; }
        public DbSet<so_ManBatchDet> so_ManBatchDet { get; set; }
        public DbSet<so_Mastercust> so_Mastercust { get; set; }
        public DbSet<SO_MASTERVENDOR> SO_MASTERVENDOR { get; set; }
        public DbSet<SO_Medical> SO_Medical { get; set; }
        public DbSet<SO_memo> SO_memo { get; set; }
        public DbSet<so_MissAppStat> so_MissAppStat { get; set; }
        public DbSet<so_newpatphy> so_newpatphy { get; set; }
        public DbSet<so_Nonheadacct> so_Nonheadacct { get; set; }
        public DbSet<So_Oe> So_Oe { get; set; }
        public DbSet<So_Oe_F> So_Oe_F { get; set; }
        public DbSet<So_Oe_NT> So_Oe_NT { get; set; }
        public DbSet<so_OEbatchdet> so_OEbatchdet { get; set; }
        public DbSet<so_oeGUar> so_oeGUar { get; set; }
        public DbSet<SO_PATIENT> SO_PATIENT { get; set; }
        public DbSet<SO_PATIENT_STATMENT> SO_PATIENT_STATMENT { get; set; }
        public DbSet<SO_PATIENTDent> SO_PATIENTDent { get; set; }
        public DbSet<SO_PATIENTLong> SO_PATIENTLong { get; set; }
        public DbSet<SO_PatientProgress> SO_PatientProgress { get; set; }
        public DbSet<so_Patienttrans> so_Patienttrans { get; set; }
        public DbSet<SO_patLgDent> SO_patLgDent { get; set; }
        public DbSet<SO_PatOe> SO_PatOe { get; set; }
        public DbSet<SO_PatOe_F> SO_PatOe_F { get; set; }
        public DbSet<so_PatPayments> so_PatPayments { get; set; }
        public DbSet<SO_PATREFERRAL> SO_PATREFERRAL { get; set; }
        public DbSet<so_PatStatement> so_PatStatement { get; set; }
        public DbSet<SO_Payment_Voucher> SO_Payment_Voucher { get; set; }
        public DbSet<SO_PH_AMT> SO_PH_AMT { get; set; }
        public DbSet<so_ph_expired> so_ph_expired { get; set; }
        public DbSet<so_ph_OH> so_ph_OH { get; set; }
        public DbSet<so_ph_oo> so_ph_oo { get; set; }
        public DbSet<SO_PHAMT> SO_PHAMT { get; set; }
        public DbSet<so_pharmainv> so_pharmainv { get; set; }
        public DbSet<so_Pharmapay> so_Pharmapay { get; set; }
        public DbSet<SO_PHGuar1AMT> SO_PHGuar1AMT { get; set; }
        public DbSet<SO_PHGuar2AMT> SO_PHGuar2AMT { get; set; }
        public DbSet<so_phoo> so_phoo { get; set; }
        public DbSet<SO_PHPatAMT> SO_PHPatAMT { get; set; }
        public DbSet<SO_PHYSICIAN> SO_PHYSICIAN { get; set; }
        public DbSet<SO_PHYSICIAN_AMOUNT> SO_PHYSICIAN_AMOUNT { get; set; }
        public DbSet<SO_PHYSICIAN_Bill> SO_PHYSICIAN_Bill { get; set; }
        public DbSet<SO_PHYSICIAN_Bill_> SO_PHYSICIAN_Bill_ { get; set; }
        public DbSet<so_Physician_State> so_Physician_State { get; set; }
        public DbSet<SO_PHYSICIAN_Total> SO_PHYSICIAN_Total { get; set; }
        public DbSet<so_PhysicianStat> so_PhysicianStat { get; set; }
        public DbSet<so_PhysicianStat1> so_PhysicianStat1 { get; set; }
        public DbSet<SO_PICK_BATCH> SO_PICK_BATCH { get; set; }
        public DbSet<SO_PickReinvoice> SO_PickReinvoice { get; set; }
        public DbSet<SO_PickReturnItem> SO_PickReturnItem { get; set; }
        public DbSet<so_pickticket> so_pickticket { get; set; }
        public DbSet<so_Pmts_no_AR> so_Pmts_no_AR { get; set; }
        public DbSet<SO_PO> SO_PO { get; set; }
        public DbSet<SO_PODETAIL> SO_PODETAIL { get; set; }
        public DbSet<so_pos> so_pos { get; set; }
        public DbSet<so_poscash> so_poscash { get; set; }
        public DbSet<so_pr> so_pr { get; set; }
        public DbSet<So_Pr_No_AR> So_Pr_No_AR { get; set; }
        public DbSet<SO_PRDETAIL> SO_PRDETAIL { get; set; }
        public DbSet<SO_Presc> SO_Presc { get; set; }
        public DbSet<SO_PRETURNDETAIL> SO_PRETURNDETAIL { get; set; }
        public DbSet<SO_PRICELST> SO_PRICELST { get; set; }
        public DbSet<so_PrintRecord> so_PrintRecord { get; set; }
        public DbSet<SO_Procentr> SO_Procentr { get; set; }
        public DbSet<so_ProductionItems> so_ProductionItems { get; set; }
        public DbSet<so_ProductionJobs> so_ProductionJobs { get; set; }
        public DbSet<so_ProductionPS> so_ProductionPS { get; set; }
        public DbSet<so_project> so_project { get; set; }
        public DbSet<So_ProvisionPlans> So_ProvisionPlans { get; set; }
        public DbSet<so_ps> so_ps { get; set; }
        public DbSet<SO_PS_BAL_CUST> SO_PS_BAL_CUST { get; set; }
        public DbSet<so_pscash> so_pscash { get; set; }
        public DbSet<so_Psdet> so_Psdet { get; set; }
        public DbSet<so_psOnAccount> so_psOnAccount { get; set; }
        public DbSet<so_PSpayments> so_PSpayments { get; set; }
        public DbSet<SO_RadReq> SO_RadReq { get; set; }
        public DbSet<SO_RadTest> SO_RadTest { get; set; }
        public DbSet<SO_Recall> SO_Recall { get; set; }
        public DbSet<SO_RecallNext> SO_RecallNext { get; set; }
        public DbSet<So_RecallWeek> So_RecallWeek { get; set; }
        public DbSet<SO_Receipt_Voucher> SO_Receipt_Voucher { get; set; }
        public DbSet<SO_REFERALS> SO_REFERALS { get; set; }
        public DbSet<SO_REFERALSPHYSICIAN> SO_REFERALSPHYSICIAN { get; set; }
        public DbSet<so_refundedticket> so_refundedticket { get; set; }
        public DbSet<SO_Return> SO_Return { get; set; }
        public DbSet<SO_RXCategory> SO_RXCategory { get; set; }
        public DbSet<SO_RXList> SO_RXList { get; set; }
        public DbSet<so_salesmen> so_salesmen { get; set; }
        public DbSet<SO_Schedule> SO_Schedule { get; set; }
        public DbSet<so_slindexer> so_slindexer { get; set; }
        public DbSet<so_staffPayments> so_staffPayments { get; set; }
        public DbSet<so_subacctstate> so_subacctstate { get; set; }
        public DbSet<so_test> so_test { get; set; }
        public DbSet<so_ticket_invoices> so_ticket_invoices { get; set; }
        public DbSet<so_tickets> so_tickets { get; set; }
        public DbSet<so_Toolbar> so_Toolbar { get; set; }
        public DbSet<So_Transfers> So_Transfers { get; set; }
        public DbSet<so_TreatHistory> so_TreatHistory { get; set; }
        public DbSet<SO_UNLINKEDPAY> SO_UNLINKEDPAY { get; set; }
        public DbSet<so_venddocs> so_venddocs { get; set; }
        public DbSet<so_vendstatement> so_vendstatement { get; set; }
        public DbSet<so_vendstatementrep> so_vendstatementrep { get; set; }
        public DbSet<so_Visitestat> so_Visitestat { get; set; }
        public DbSet<so_Ward> so_Ward { get; set; }
        public DbSet<SO_ZERORATES> SO_ZERORATES { get; set; }
        public DbSet<sp_ph_expired> sp_ph_expired { get; set; }
        public DbSet<tbs_App_Gt_claim> tbs_App_Gt_claim { get; set; }
        public DbSet<tbs_Batch_DB_CR> tbs_Batch_DB_CR { get; set; }
        public DbSet<Tbs_BillstoReview> Tbs_BillstoReview { get; set; }
        public DbSet<tbs_Disabled_triggers> tbs_Disabled_triggers { get; set; }
        public DbSet<tbs_DupBatches> tbs_DupBatches { get; set; }
        public DbSet<tbs_InvalidAccts> tbs_InvalidAccts { get; set; }
        public DbSet<tbs_MissingPKeys> tbs_MissingPKeys { get; set; }
        public DbSet<Tbs_NoRates> Tbs_NoRates { get; set; }
        public DbSet<tbs_PmtstoReview> tbs_PmtstoReview { get; set; }
        public DbSet<tbs_ReportsWithNoSec> tbs_ReportsWithNoSec { get; set; }
        public DbSet<tbs_ToolbarWithNoSec> tbs_ToolbarWithNoSec { get; set; }
        public DbSet<tbs_UnevenBills> tbs_UnevenBills { get; set; }
        public DbSet<tbs_UnevenPR> tbs_UnevenPR { get; set; }
        public DbSet<too_nssfBill> too_nssfBill { get; set; }
        public DbSet<too_ViewsWithNoSec> too_ViewsWithNoSec { get; set; }
        public DbSet<tretPlan> tretPlans { get; set; }
        public DbSet<UP_ExTables> UP_ExTables { get; set; }
        public DbSet<user> users { get; set; }
        public DbSet<v_appymt> v_appymt { get; set; }
        public DbSet<v_Psdet_InventoryItems> v_Psdet_InventoryItems { get; set; }
        public DbSet<vAcctBalance> vAcctBalances { get; set; }
        public DbSet<vAcctDetail> vAcctDetails { get; set; }
        public DbSet<vBalanceSheet> vBalanceSheets { get; set; }
        public DbSet<VBatchttl> VBatchttls { get; set; }
        public DbSet<VBatchttl_> VBatchttl_ { get; set; }
        public DbSet<VBatchttl_header> VBatchttl_header { get; set; }
        public DbSet<VBillOMPrice> VBillOMPrices { get; set; }
        public DbSet<vBillTotalType> vBillTotalTypes { get; set; }
        public DbSet<vBillTotalType_F> vBillTotalType_F { get; set; }
        public DbSet<vCurrencyRate> vCurrencyRates { get; set; }
        public DbSet<vCustTran> vCustTrans { get; set; }
        public DbSet<vExpired_Item_Control> vExpired_Item_Control { get; set; }
        public DbSet<vExpiredControl> vExpiredControls { get; set; }
        public DbSet<vgl> vgls { get; set; }
        public DbSet<vIncomeStatement> vIncomeStatements { get; set; }
        public DbSet<vInventory> vInventories { get; set; }
        public DbSet<vInventoryReqDynamic> vInventoryReqDynamics { get; set; }
        public DbSet<vIprcpt> vIprcpts { get; set; }
        public DbSet<VitemActivity> VitemActivities { get; set; }
        public DbSet<vItemAdjustment> vItemAdjustments { get; set; }
        public DbSet<vItemAll> vItemAlls { get; set; }
        public DbSet<vItemDimension> vItemDimensions { get; set; }
        public DbSet<vItemInvoice> vItemInvoices { get; set; }
        public DbSet<vItemNetSoldQty> vItemNetSoldQties { get; set; }
        public DbSet<vItemReturn> vItemReturns { get; set; }
        public DbSet<vItem> vItems { get; set; }
        public DbSet<vItemSale> vItemSales { get; set; }
        public DbSet<vItemSoldQty> vItemSoldQties { get; set; }
        public DbSet<vItemTransfer> vItemTransfers { get; set; }
        public DbSet<vJobCost> vJobCosts { get; set; }
        public DbSet<vkAdmision> vkAdmisions { get; set; }
        public DbSet<vkIPrcpt> vkIPrcpts { get; set; }
        public DbSet<vkItem> vkItems { get; set; }
        public DbSet<vkOedet> vkOedets { get; set; }
        public DbSet<vkPsdet> vkPsdets { get; set; }
        public DbSet<vNetSale> vNetSales { get; set; }
        public DbSet<vNetsalesSummation> vNetsalesSummations { get; set; }
        public DbSet<vOeDet_ItemDesc> vOeDet_ItemDesc { get; set; }
        public DbSet<vPhysicianAmount> vPhysicianAmounts { get; set; }
        public DbSet<vPOReceipt> vPOReceipts { get; set; }
        public DbSet<vPoReceiptsHeader> vPoReceiptsHeaders { get; set; }
        public DbSet<vPOS> vPOS { get; set; }
        public DbSet<vP> vPS { get; set; }
        public DbSet<vPsdet_InventoryItems> vPsdet_InventoryItems { get; set; }
        public DbSet<vPurchaseOrder> vPurchaseOrders { get; set; }
        public DbSet<vSale_Dsicount_History> vSale_Dsicount_History { get; set; }
        public DbSet<vStaffDue> vStaffDues { get; set; }
        public DbSet<vt_AcctBAl> vt_AcctBAl { get; set; }
        public DbSet<vt_acctbal2> vt_acctbal2 { get; set; }
        public DbSet<vt_AcctTrans> vt_AcctTrans { get; set; }
        public DbSet<vt_CAGLDiff> vt_CAGLDiff { get; set; }
        public DbSet<vt_CAIntegrity> vt_CAIntegrity { get; set; }
        public DbSet<vt_caintegrity2> vt_caintegrity2 { get; set; }
        public DbSet<vt_CustAcctBaldif> vt_CustAcctBaldif { get; set; }
        public DbSet<vt_CustBal> vt_CustBal { get; set; }
        public DbSet<vt_DEIntegrity> vt_DEIntegrity { get; set; }
        public DbSet<vt_gl> vt_gl { get; set; }
        public DbSet<vt_GLIntegrity1> vt_GLIntegrity1 { get; set; }
        public DbSet<vt_GLIntegrity2> vt_GLIntegrity2 { get; set; }
        public DbSet<vt_GLIntegrity3> vt_GLIntegrity3 { get; set; }
        public DbSet<vt_glintegrity4> vt_glintegrity4 { get; set; }
        public DbSet<vt_glintegrity5> vt_glintegrity5 { get; set; }
        public DbSet<vt_glintegrity6> vt_glintegrity6 { get; set; }
        public DbSet<vt_glintegrity7> vt_glintegrity7 { get; set; }
        public DbSet<vt_ipIntegrity> vt_ipIntegrity { get; set; }
        public DbSet<vt_ipIntegrity1> vt_ipIntegrity1 { get; set; }
        public DbSet<vt_ratesIntegrity> vt_ratesIntegrity { get; set; }
        public DbSet<vt_test1> vt_test1 { get; set; }
        public DbSet<vt_test2> vt_test2 { get; set; }
        public DbSet<vt_test3> vt_test3 { get; set; }
        public DbSet<vt_test4> vt_test4 { get; set; }
        public DbSet<vt_test5> vt_test5 { get; set; }
        public DbSet<vt_test6> vt_test6 { get; set; }
        public DbSet<vt_vglintegrity> vt_vglintegrity { get; set; }
        public DbSet<vtq_Find__Accounts_where_CA_GL__balances__not_Equal> vtq_Find__Accounts_where_CA_GL__balances__not_Equal { get; set; }
        public DbSet<vtQ_What_customers_are_sharing__the__same_AR_accounts> vtQ_What_customers_are_sharing__the__same_AR_accounts { get; set; }
        public DbSet<vtq_What_customers_have_changed_their__ar_account_after_Posting_some_of_their_Transcations> vtq_What_customers_have_changed_their__ar_account_after_Posting_some_of_their_Transcations { get; set; }
        public DbSet<VUbatchdet> VUbatchdets { get; set; }
        public DbSet<VUbatchdet_F> VUbatchdet_F { get; set; }
        public DbSet<VUbatchttl> VUbatchttls { get; set; }
        public DbSet<vUserTypeInfo> vUserTypeInfoes { get; set; }
        public DbSet<vwrenumbatch> vwrenumbatches { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new roomsMap());
            modelBuilder.Configurations.Add(new AccRightMap());
            modelBuilder.Configurations.Add(new AcctMap());
            modelBuilder.Configurations.Add(new ACCTCLASSMap());
            modelBuilder.Configurations.Add(new AcctHeaderMap());
            modelBuilder.Configurations.Add(new AcctMatchingMap());
            modelBuilder.Configurations.Add(new AcctOpeningMap());
            modelBuilder.Configurations.Add(new AcctsumMap());
            modelBuilder.Configurations.Add(new AcctttlMap());
            modelBuilder.Configurations.Add(new AcctttlHistMap());
            modelBuilder.Configurations.Add(new ACT_CategoryMap());
            modelBuilder.Configurations.Add(new ACT_DurationMap());
            modelBuilder.Configurations.Add(new ACT_HourMap());
            modelBuilder.Configurations.Add(new ACT_InitiatedByMap());
            modelBuilder.Configurations.Add(new ACT_PartyTypeMap());
            modelBuilder.Configurations.Add(new ACT_ProgressMap());
            modelBuilder.Configurations.Add(new ACT_TASKMap());
            modelBuilder.Configurations.Add(new AD_TRTProgressMap());
            modelBuilder.Configurations.Add(new AdjHeaderMap());
            modelBuilder.Configurations.Add(new ADM_EMGLOCMap());
            modelBuilder.Configurations.Add(new ADM_EMGSTATUSMap());
            modelBuilder.Configurations.Add(new ADM_EMGTRANSMap());
            modelBuilder.Configurations.Add(new adm_entMap());
            modelBuilder.Configurations.Add(new ADM_TSFPARTYMap());
            modelBuilder.Configurations.Add(new admisionMap());
            modelBuilder.Configurations.Add(new AdmLbltblMap());
            modelBuilder.Configurations.Add(new AgingMap());
            modelBuilder.Configurations.Add(new AL_allergyMap());
            modelBuilder.Configurations.Add(new AL_PatAllergyMap());
            modelBuilder.Configurations.Add(new AL_ReactionMap());
            modelBuilder.Configurations.Add(new AL_SeverityMap());
            modelBuilder.Configurations.Add(new Al_StatusMap());
            modelBuilder.Configurations.Add(new AL_TypeMap());
            modelBuilder.Configurations.Add(new ApMap());
            modelBuilder.Configurations.Add(new ApagingMap());
            modelBuilder.Configurations.Add(new ApbatchMap());
            modelBuilder.Configurations.Add(new ApbtchdtMap());
            modelBuilder.Configurations.Add(new ApdetMap());
            modelBuilder.Configurations.Add(new ApmemoMap());
            modelBuilder.Configurations.Add(new ApPaydetMap());
            modelBuilder.Configurations.Add(new applianceMap());
            modelBuilder.Configurations.Add(new Approved_invoices_paidMap());
            modelBuilder.Configurations.Add(new ApPymtMap());
            modelBuilder.Configurations.Add(new ArMap());
            modelBuilder.Configurations.Add(new AragingMap());
            modelBuilder.Configurations.Add(new ArbatchMap());
            modelBuilder.Configurations.Add(new ArbtchdtMap());
            modelBuilder.Configurations.Add(new ARC_ApdetMap());
            modelBuilder.Configurations.Add(new ARC_OeMap());
            modelBuilder.Configurations.Add(new ARC_OedetMap());
            modelBuilder.Configurations.Add(new AreaMap());
            modelBuilder.Configurations.Add(new ArmemoMap());
            modelBuilder.Configurations.Add(new ARTINDEXERMap());
            modelBuilder.Configurations.Add(new AssemblyMap());
            modelBuilder.Configurations.Add(new AT2_MapMap());
            modelBuilder.Configurations.Add(new AT2_NameMap());
            modelBuilder.Configurations.Add(new ATH_AttachementMap());
            modelBuilder.Configurations.Add(new ATL_ActionMap());
            modelBuilder.Configurations.Add(new ATL_BillsMap());
            modelBuilder.Configurations.Add(new ATL_ComponentMap());
            modelBuilder.Configurations.Add(new ATL_LogMap());
            modelBuilder.Configurations.Add(new ATL_PaymentsMap());
            modelBuilder.Configurations.Add(new ATS_TestResultsMap());
            modelBuilder.Configurations.Add(new AutoInsertItemMap());
            modelBuilder.Configurations.Add(new BanklistMap());
            modelBuilder.Configurations.Add(new BanktypeMap());
            modelBuilder.Configurations.Add(new BatchClassificationMap());
            modelBuilder.Configurations.Add(new BatchdetMap());
            modelBuilder.Configurations.Add(new BatchttlMap());
            modelBuilder.Configurations.Add(new BeginCashMap());
            modelBuilder.Configurations.Add(new BillOfMaterialMap());
            modelBuilder.Configurations.Add(new biomecMap());
            modelBuilder.Configurations.Add(new BL_GuarBillingClassMap());
            modelBuilder.Configurations.Add(new BloodGroupMap());
            modelBuilder.Configurations.Add(new BND_HeaderMap());
            modelBuilder.Configurations.Add(new BND_LINKMap());
            modelBuilder.Configurations.Add(new BND_PKT_LINKMap());
            modelBuilder.Configurations.Add(new br_ReportListMap());
            modelBuilder.Configurations.Add(new BrandMap());
            modelBuilder.Configurations.Add(new BroadcstMap());
            modelBuilder.Configurations.Add(new BsAlterSectMap());
            modelBuilder.Configurations.Add(new BudgetMap());
            modelBuilder.Configurations.Add(new CaratMap());
            modelBuilder.Configurations.Add(new CatalogMap());
            modelBuilder.Configurations.Add(new CategoryCoverageExceptMap());
            modelBuilder.Configurations.Add(new CategoryPriceExceptMap());
            modelBuilder.Configurations.Add(new CCTypeMap());
            modelBuilder.Configurations.Add(new CH_chartMap());
            modelBuilder.Configurations.Add(new Ch_chartPageMap());
            modelBuilder.Configurations.Add(new chartdbfMap());
            modelBuilder.Configurations.Add(new chartflgMap());
            modelBuilder.Configurations.Add(new ChartHeadMap());
            modelBuilder.Configurations.Add(new charttmpMap());
            modelBuilder.Configurations.Add(new ChecksPrintMap());
            modelBuilder.Configurations.Add(new cityMap());
            modelBuilder.Configurations.Add(new City1Map());
            modelBuilder.Configurations.Add(new CM_BillApprovalMap());
            modelBuilder.Configurations.Add(new CN_FeaturesMap());
            modelBuilder.Configurations.Add(new COM_ContactMap());
            modelBuilder.Configurations.Add(new COM_ContactAttributeMap());
            modelBuilder.Configurations.Add(new COM_ContactAttributeTypeMap());
            modelBuilder.Configurations.Add(new COM_GroupMap());
            modelBuilder.Configurations.Add(new COM_RecordTypeMap());
            modelBuilder.Configurations.Add(new CompanyMap());
            modelBuilder.Configurations.Add(new ContactMap());
            modelBuilder.Configurations.Add(new cooMap());
            modelBuilder.Configurations.Add(new coo_pedoMap());
            modelBuilder.Configurations.Add(new CostTypeMap());
            modelBuilder.Configurations.Add(new CountryMap());
            modelBuilder.Configurations.Add(new CoverageClassMap());
            modelBuilder.Configurations.Add(new CoveragePlanMap());
            modelBuilder.Configurations.Add(new CstctrMap());
            modelBuilder.Configurations.Add(new currencyMap());
            modelBuilder.Configurations.Add(new cus2Map());
            modelBuilder.Configurations.Add(new CustmrgMap());
            modelBuilder.Configurations.Add(new CustTypeMap());
            modelBuilder.Configurations.Add(new DamageKindMap());
            modelBuilder.Configurations.Add(new dbinfoMap());
            modelBuilder.Configurations.Add(new DC_ClinicalNotesMap());
            modelBuilder.Configurations.Add(new DC_ConditionsMap());
            modelBuilder.Configurations.Add(new dc_iconsMap());
            modelBuilder.Configurations.Add(new dc_materialMap());
            modelBuilder.Configurations.Add(new dc_toothNoteMap());
            modelBuilder.Configurations.Add(new Debit_Credit_MemoMap());
            modelBuilder.Configurations.Add(new DENTALLABMap());
            modelBuilder.Configurations.Add(new DepartmentMap());
            modelBuilder.Configurations.Add(new DIAGNOSISMap());
            modelBuilder.Configurations.Add(new DiagnosisCategMap());
            modelBuilder.Configurations.Add(new DiagnosisTypeMap());
            modelBuilder.Configurations.Add(new dischargedxMap());
            modelBuilder.Configurations.Add(new DischargeTypeMap());
            modelBuilder.Configurations.Add(new DiscountTypeMap());
            modelBuilder.Configurations.Add(new DivisionMap());
            modelBuilder.Configurations.Add(new dl_ActionStatusMap());
            modelBuilder.Configurations.Add(new DL_PlanningMap());
            modelBuilder.Configurations.Add(new Dl_shadowsMap());
            modelBuilder.Configurations.Add(new DLC_tmpDateMap());
            modelBuilder.Configurations.Add(new DM_DocTypeMap());
            modelBuilder.Configurations.Add(new DM_DocumentMap());
            modelBuilder.Configurations.Add(new Dm_FileMap());
            modelBuilder.Configurations.Add(new Dm_RecordTypeMap());
            modelBuilder.Configurations.Add(new DocTypeMap());
            modelBuilder.Configurations.Add(new doeMap());
            modelBuilder.Configurations.Add(new DRP_PKT_DynaReportMap());
            modelBuilder.Configurations.Add(new dtpropertyMap());
            modelBuilder.Configurations.Add(new endoMap());
            modelBuilder.Configurations.Add(new EntityMap());
            modelBuilder.Configurations.Add(new EoyClosingMap());
            modelBuilder.Configurations.Add(new Exchange_orderMap());
            modelBuilder.Configurations.Add(new Exchange_order_PassengerMap());
            modelBuilder.Configurations.Add(new Exchange_order_RoutinginfoMap());
            modelBuilder.Configurations.Add(new EyeFormMap());
            modelBuilder.Configurations.Add(new EyeTreatMap());
            modelBuilder.Configurations.Add(new FaMap());
            modelBuilder.Configurations.Add(new FacatMap());
            modelBuilder.Configurations.Add(new FacilityMap());
            modelBuilder.Configurations.Add(new FacilityTypeMap());
            modelBuilder.Configurations.Add(new FACodeMap());
            modelBuilder.Configurations.Add(new FALocationMap());
            modelBuilder.Configurations.Add(new FatableMap());
            modelBuilder.Configurations.Add(new f_cumasMap());
            modelBuilder.Configurations.Add(new frm_Category2Map());
            modelBuilder.Configurations.Add(new frm_itemMap());
            modelBuilder.Configurations.Add(new frm_item2Map());
            modelBuilder.Configurations.Add(new frm_pageMap());
            modelBuilder.Configurations.Add(new frm_page2Map());
            modelBuilder.Configurations.Add(new frm_sectionMap());
            modelBuilder.Configurations.Add(new frm_section2Map());
            modelBuilder.Configurations.Add(new frm_Type2Map());
            modelBuilder.Configurations.Add(new FT_PKT_IPMap());
            modelBuilder.Configurations.Add(new FT_PKT_LookupMap());
            modelBuilder.Configurations.Add(new FT_PKT_PSMap());
            modelBuilder.Configurations.Add(new FT_PKT_SalesmenMap());
            modelBuilder.Configurations.Add(new FunctionMap());
            modelBuilder.Configurations.Add(new Function_tempMap());
            modelBuilder.Configurations.Add(new gal_airlineMap());
            modelBuilder.Configurations.Add(new gal_amtrakMap());
            modelBuilder.Configurations.Add(new gal_farebasisMap());
            modelBuilder.Configurations.Add(new gal_fareconstMap());
            modelBuilder.Configurations.Add(new gal_farevalueMap());
            modelBuilder.Configurations.Add(new gal_HeaderMap());
            modelBuilder.Configurations.Add(new gal_netremitMap());
            modelBuilder.Configurations.Add(new gal_passengerMap());
            modelBuilder.Configurations.Add(new gal_paymentMap());
            modelBuilder.Configurations.Add(new gal_phoneMap());
            modelBuilder.Configurations.Add(new gal_sectionsMap());
            modelBuilder.Configurations.Add(new gal_ticketremMap());
            modelBuilder.Configurations.Add(new gal_vatMap());
            modelBuilder.Configurations.Add(new GlMap());
            modelBuilder.Configurations.Add(new GL_APRVMap());
            modelBuilder.Configurations.Add(new GL_CategoryMap());
            modelBuilder.Configurations.Add(new GL_SourceMap());
            modelBuilder.Configurations.Add(new GlhistMap());
            modelBuilder.Configurations.Add(new gsrateMap());
            modelBuilder.Configurations.Add(new GT_PKT_IPDETMap());
            modelBuilder.Configurations.Add(new GT_PKT_PsdetMap());
            modelBuilder.Configurations.Add(new GuarantorContractMap());
            modelBuilder.Configurations.Add(new GuarContractClassMap());
            modelBuilder.Configurations.Add(new GuarCoverageMap());
            modelBuilder.Configurations.Add(new HL7_ActionMap());
            modelBuilder.Configurations.Add(new HL7_BufferMap());
            modelBuilder.Configurations.Add(new HL7_RecordMap());
            modelBuilder.Configurations.Add(new holidayMap());
            modelBuilder.Configurations.Add(new HR_BranchMap());
            modelBuilder.Configurations.Add(new HR_CategoryMap());
            modelBuilder.Configurations.Add(new HR_DeductionsMap());
            modelBuilder.Configurations.Add(new HR_DepartmentMap());
            modelBuilder.Configurations.Add(new HR_EmployeeMap());
            modelBuilder.Configurations.Add(new hr_employee_allawenceMap());
            modelBuilder.Configurations.Add(new HR_Employee_childMap());
            modelBuilder.Configurations.Add(new hr_employee_overtimeMap());
            modelBuilder.Configurations.Add(new hr_employee_qualification_Map());
            modelBuilder.Configurations.Add(new HR_EOSMap());
            modelBuilder.Configurations.Add(new HR_LU_VacationsMap());
            modelBuilder.Configurations.Add(new HR_POSITIONMap());
            modelBuilder.Configurations.Add(new HR_SalaryMap());
            modelBuilder.Configurations.Add(new HR_StatusMap());
            modelBuilder.Configurations.Add(new IA_AuthorizationMap());
            modelBuilder.Configurations.Add(new IA_PKT_APP_PROC_AUTHMap());
            modelBuilder.Configurations.Add(new IA_PKT_AuthorizationMap());
            modelBuilder.Configurations.Add(new ID_SOURCEMap());
            modelBuilder.Configurations.Add(new id_typeMap());
            modelBuilder.Configurations.Add(new idMap());
            modelBuilder.Configurations.Add(new ImageMap());
            modelBuilder.Configurations.Add(new ImgCatMap());
            modelBuilder.Configurations.Add(new insuredrelationMap());
            modelBuilder.Configurations.Add(new INT_LOGMap());
            modelBuilder.Configurations.Add(new InvoicespaymentMap());
            modelBuilder.Configurations.Add(new InvTypeMap());
            modelBuilder.Configurations.Add(new IpMap());
            modelBuilder.Configurations.Add(new IP_DeliveryMap());
            modelBuilder.Configurations.Add(new IP_PKT_PLISTMap());
            modelBuilder.Configurations.Add(new IpadjustMap());
            modelBuilder.Configurations.Add(new IpAdjustTypeMap());
            modelBuilder.Configurations.Add(new IPBARCODELABELMap());
            modelBuilder.Configurations.Add(new IpdetMap());
            modelBuilder.Configurations.Add(new IpOverheadMap());
            modelBuilder.Configurations.Add(new IprcptMap());
            modelBuilder.Configurations.Add(new ItemMap());
            modelBuilder.Configurations.Add(new item_BaMap());
            modelBuilder.Configurations.Add(new item_BuMap());
            modelBuilder.Configurations.Add(new Item_ClassMap());
            modelBuilder.Configurations.Add(new Item_clusterMap());
            modelBuilder.Configurations.Add(new Item_familyMap());
            modelBuilder.Configurations.Add(new item_HiltitypeMap());
            modelBuilder.Configurations.Add(new Item_ProductLineMap());
            modelBuilder.Configurations.Add(new item_resMap());
            modelBuilder.Configurations.Add(new item_subtypeMap());
            modelBuilder.Configurations.Add(new ItemactMap());
            modelBuilder.Configurations.Add(new ItemcostMap());
            modelBuilder.Configurations.Add(new ItemCoverageExceptMap());
            modelBuilder.Configurations.Add(new itemcritMap());
            modelBuilder.Configurations.Add(new itemdMap());
            modelBuilder.Configurations.Add(new ItemdetMap());
            modelBuilder.Configurations.Add(new ItemDet_HistoryMap());
            modelBuilder.Configurations.Add(new itemgroupMap());
            modelBuilder.Configurations.Add(new ItemMatchingCodeMap());
            modelBuilder.Configurations.Add(new ItemPriceExceptMap());
            modelBuilder.Configurations.Add(new ItemTypeMap());
            modelBuilder.Configurations.Add(new Itm_CodeMapMap());
            modelBuilder.Configurations.Add(new ItmCatAttValMap());
            modelBuilder.Configurations.Add(new ItmCategMap());
            modelBuilder.Configurations.Add(new ItmPListMap());
            modelBuilder.Configurations.Add(new ItmSubCatMap());
            modelBuilder.Configurations.Add(new JcMap());
            modelBuilder.Configurations.Add(new JcHistMap());
            modelBuilder.Configurations.Add(new JobMap());
            modelBuilder.Configurations.Add(new KadaaMap());
            modelBuilder.Configurations.Add(new KitItemMap());
            modelBuilder.Configurations.Add(new LabelFormMap());
            modelBuilder.Configurations.Add(new LetterMap());
            modelBuilder.Configurations.Add(new LIC_FeatureMap());
            modelBuilder.Configurations.Add(new LocationMap());
            modelBuilder.Configurations.Add(new LookupTitleMap());
            modelBuilder.Configurations.Add(new LookupValueMap());
            modelBuilder.Configurations.Add(new LU_departmentMap());
            modelBuilder.Configurations.Add(new mechanicMap());
            modelBuilder.Configurations.Add(new medicalMap());
            modelBuilder.Configurations.Add(new MEM_HEAPMap());
            modelBuilder.Configurations.Add(new ModuleMap());
            modelBuilder.Configurations.Add(new MouhafazaMap());
            modelBuilder.Configurations.Add(new mtn_machineMap());
            modelBuilder.Configurations.Add(new mtn_ProceduresMap());
            modelBuilder.Configurations.Add(new mtn_RefIntegMap());
            modelBuilder.Configurations.Add(new mtn_utilizationMap());
            modelBuilder.Configurations.Add(new NameMap());
            modelBuilder.Configurations.Add(new NamesDicMap());
            modelBuilder.Configurations.Add(new NationalityMap());
            modelBuilder.Configurations.Add(new NewBornMap());
            modelBuilder.Configurations.Add(new NPD_NoteMap());
            modelBuilder.Configurations.Add(new NPD_NoteConfigMap());
            modelBuilder.Configurations.Add(new NPD_StatusMap());
            modelBuilder.Configurations.Add(new occlusioMap());
            modelBuilder.Configurations.Add(new OeMap());
            modelBuilder.Configurations.Add(new OE_ORDERMap());
            modelBuilder.Configurations.Add(new oe_OrderStatusMap());
            modelBuilder.Configurations.Add(new OE_OrderTypeMap());
            modelBuilder.Configurations.Add(new OE_PolicyMap());
            modelBuilder.Configurations.Add(new Oe_PriorityMap());
            modelBuilder.Configurations.Add(new OE_SelectedItemMap());
            modelBuilder.Configurations.Add(new Oe_StatusMap());
            modelBuilder.Configurations.Add(new OE_StatusLogMap());
            modelBuilder.Configurations.Add(new OedetMap());
            modelBuilder.Configurations.Add(new OERPConfMap());
            modelBuilder.Configurations.Add(new OH_ItemActivityMap());
            modelBuilder.Configurations.Add(new Op_priorityMap());
            modelBuilder.Configurations.Add(new opertblMap());
            modelBuilder.Configurations.Add(new opertbl1Map());
            modelBuilder.Configurations.Add(new OR_ANASAMap());
            modelBuilder.Configurations.Add(new OR_ANINBladeMap());
            modelBuilder.Configurations.Add(new OR_ANINRouteMap());
            modelBuilder.Configurations.Add(new OR_ANMethodMap());
            modelBuilder.Configurations.Add(new OR_BodySiteMap());
            modelBuilder.Configurations.Add(new OR_BookingMap());
            modelBuilder.Configurations.Add(new OR_BookingStatusMap());
            modelBuilder.Configurations.Add(new OR_EquipmentMap());
            modelBuilder.Configurations.Add(new OR_OperMap());
            modelBuilder.Configurations.Add(new OR_OperEquipMap());
            modelBuilder.Configurations.Add(new OR_OperStaffMap());
            modelBuilder.Configurations.Add(new OR_RoomMap());
            modelBuilder.Configurations.Add(new OR_StaffRoleMap());
            modelBuilder.Configurations.Add(new OrderFacilityMap());
            modelBuilder.Configurations.Add(new ParentMap());
            modelBuilder.Configurations.Add(new patient1Map());
            modelBuilder.Configurations.Add(new PatReferralMap());
            modelBuilder.Configurations.Add(new PaydetMap());
            modelBuilder.Configurations.Add(new PaymentMap());
            modelBuilder.Configurations.Add(new PER_ExamMap());
            modelBuilder.Configurations.Add(new PER_ExamLineMap());
            modelBuilder.Configurations.Add(new PER_SequenceMap());
            modelBuilder.Configurations.Add(new Per_ThresholdMap());
            modelBuilder.Configurations.Add(new perio_plMap());
            modelBuilder.Configurations.Add(new periochMap());
            modelBuilder.Configurations.Add(new PeriodMap());
            modelBuilder.Configurations.Add(new PHRATEMap());
            modelBuilder.Configurations.Add(new PhysFeesCategoryMap());
            modelBuilder.Configurations.Add(new PhysFeesItemMap());
            modelBuilder.Configurations.Add(new PhysFeesPlanMap());
            modelBuilder.Configurations.Add(new PhysFeesTypeMap());
            modelBuilder.Configurations.Add(new PhysicalSiteMap());
            modelBuilder.Configurations.Add(new PIM_DomainMap());
            modelBuilder.Configurations.Add(new PIM_InfoMap());
            modelBuilder.Configurations.Add(new PIM_PKT_DomainMap());
            modelBuilder.Configurations.Add(new PIM_PKT_InfoMap());
            modelBuilder.Configurations.Add(new PInventoryLogMap());
            modelBuilder.Configurations.Add(new PKT_AcctBalancesMap());
            modelBuilder.Configurations.Add(new PKT_AcctTransMap());
            modelBuilder.Configurations.Add(new PKT_BillsMap());
            modelBuilder.Configurations.Add(new PKT_CustBalancesMap());
            modelBuilder.Configurations.Add(new PKT_EVALMap());
            modelBuilder.Configurations.Add(new PKT_ItemActivityMap());
            modelBuilder.Configurations.Add(new PKT_SPD_BUFFERMap());
            modelBuilder.Configurations.Add(new PKT_SummaryBatchMap());
            modelBuilder.Configurations.Add(new PKT_VendBalancesMap());
            modelBuilder.Configurations.Add(new pobirthMap());
            modelBuilder.Configurations.Add(new prcdicMap());
            modelBuilder.Configurations.Add(new PrescdetailMap());
            modelBuilder.Configurations.Add(new PrescriptionMap());
            modelBuilder.Configurations.Add(new PRF_PreferenceMap());
            modelBuilder.Configurations.Add(new PriceLstMap());
            modelBuilder.Configurations.Add(new ProjectMap());
            modelBuilder.Configurations.Add(new PMap());
            modelBuilder.Configurations.Add(new PsdetMap());
            modelBuilder.Configurations.Add(new PSDetJobMap());
            modelBuilder.Configurations.Add(new PsnameMap());
            modelBuilder.Configurations.Add(new PSPaymentMap());
            modelBuilder.Configurations.Add(new PT_PhysioMap());
            modelBuilder.Configurations.Add(new PT_ProcedureMap());
            modelBuilder.Configurations.Add(new PT_SessionMap());
            modelBuilder.Configurations.Add(new RateMap());
            modelBuilder.Configurations.Add(new RD_ClearRecordsMap());
            modelBuilder.Configurations.Add(new RD_ScanMap());
            modelBuilder.Configurations.Add(new rd_tempMap());
            modelBuilder.Configurations.Add(new RecallMap());
            modelBuilder.Configurations.Add(new ReferalMap());
            modelBuilder.Configurations.Add(new RefundMap());
            modelBuilder.Configurations.Add(new RegisterMap());
            modelBuilder.Configurations.Add(new religionMap());
            modelBuilder.Configurations.Add(new RenumBatchMap());
            modelBuilder.Configurations.Add(new RepairMap());
            modelBuilder.Configurations.Add(new RepairTypeMap());
            modelBuilder.Configurations.Add(new ReportParamMap());
            modelBuilder.Configurations.Add(new req_test_resultsMap());
            modelBuilder.Configurations.Add(new req_testsMap());
            modelBuilder.Configurations.Add(new requestMap());
            modelBuilder.Configurations.Add(new rp_BillsMap());
            modelBuilder.Configurations.Add(new rp_PaymentsMap());
            modelBuilder.Configurations.Add(new RX_detailsMap());
            modelBuilder.Configurations.Add(new RX_DispenseTimeMap());
            modelBuilder.Configurations.Add(new RX_DurationMap());
            modelBuilder.Configurations.Add(new RX_FormMap());
            modelBuilder.Configurations.Add(new RX_FrequencyMap());
            modelBuilder.Configurations.Add(new RX_instructionMap());
            modelBuilder.Configurations.Add(new Rx_MedicationMap());
            modelBuilder.Configurations.Add(new RX_PrescriptionMap());
            modelBuilder.Configurations.Add(new rx_RouteMap());
            modelBuilder.Configurations.Add(new Rx_UOMMap());
            modelBuilder.Configurations.Add(new RXCategoryMap());
            modelBuilder.Configurations.Add(new RXListMap());
            modelBuilder.Configurations.Add(new SA_FollowupMap());
            modelBuilder.Configurations.Add(new Sale_Discount_HistoryMap());
            modelBuilder.Configurations.Add(new SalesHistoryMap());
            modelBuilder.Configurations.Add(new SalesmanMap());
            modelBuilder.Configurations.Add(new sc_cfgMap());
            modelBuilder.Configurations.Add(new sc_logMap());
            modelBuilder.Configurations.Add(new sc_roomMap());
            modelBuilder.Configurations.Add(new scheduleMap());
            modelBuilder.Configurations.Add(new scidMap());
            modelBuilder.Configurations.Add(new SD_ClassMap());
            modelBuilder.Configurations.Add(new SD_Class_StatusMap());
            modelBuilder.Configurations.Add(new SD_CourseMap());
            modelBuilder.Configurations.Add(new SD_EvalMap());
            modelBuilder.Configurations.Add(new SD_Eval_StatusMap());
            modelBuilder.Configurations.Add(new SD_GradeDetMap());
            modelBuilder.Configurations.Add(new SD_GrdBreakupMap());
            modelBuilder.Configurations.Add(new SD_PKT_ClassMap());
            modelBuilder.Configurations.Add(new SD_PKT_CourseMap());
            modelBuilder.Configurations.Add(new SD_PKT_EvalMap());
            modelBuilder.Configurations.Add(new SD_PKT_RegMap());
            modelBuilder.Configurations.Add(new SD_PKT_StudentMap());
            modelBuilder.Configurations.Add(new SD_PKT_TeacherMap());
            modelBuilder.Configurations.Add(new SD_PKT_TermMap());
            modelBuilder.Configurations.Add(new SD_RegMap());
            modelBuilder.Configurations.Add(new SD_Reg_StatusMap());
            modelBuilder.Configurations.Add(new SD_StudentMap());
            modelBuilder.Configurations.Add(new SD_Student_StatusMap());
            modelBuilder.Configurations.Add(new SD_TeacherMap());
            modelBuilder.Configurations.Add(new SD_TermMap());
            modelBuilder.Configurations.Add(new seasonMap());
            modelBuilder.Configurations.Add(new shadeMap());
            modelBuilder.Configurations.Add(new ShiptoMap());
            modelBuilder.Configurations.Add(new SiteMap());
            modelBuilder.Configurations.Add(new SITMTYPEMap());
            modelBuilder.Configurations.Add(new SLINDEXERMap());
            modelBuilder.Configurations.Add(new SLOCMap());
            modelBuilder.Configurations.Add(new SM_INDUSTRYMap());
            modelBuilder.Configurations.Add(new SM_LEAD_INTEREST_LEVELMap());
            modelBuilder.Configurations.Add(new SM_LEAD_RATINGMap());
            modelBuilder.Configurations.Add(new SM_LEAD_SOURCEMap());
            modelBuilder.Configurations.Add(new SM_LEAD_STATUSMap());
            modelBuilder.Configurations.Add(new SM_OpportunityMap());
            modelBuilder.Configurations.Add(new SM_OverheadMap());
            modelBuilder.Configurations.Add(new SM_OverheadTypeMap());
            modelBuilder.Configurations.Add(new SM_PKT_OverheadMap());
            modelBuilder.Configurations.Add(new SM_PKT_PricingMap());
            modelBuilder.Configurations.Add(new SM_PricingMap());
            modelBuilder.Configurations.Add(new so_AcctStatementMap());
            modelBuilder.Configurations.Add(new so_optionsMap());
            modelBuilder.Configurations.Add(new SpecialtyMap());
            modelBuilder.Configurations.Add(new spt_patchlogMap());
            modelBuilder.Configurations.Add(new StoreMap());
            modelBuilder.Configurations.Add(new SubItemMap());
            modelBuilder.Configurations.Add(new SyMap());
            modelBuilder.Configurations.Add(new systemMap());
            modelBuilder.Configurations.Add(new Table1Map());
            modelBuilder.Configurations.Add(new Table2Map());
            modelBuilder.Configurations.Add(new TaskStatuMap());
            modelBuilder.Configurations.Add(new tbs_VERIFYMap());
            modelBuilder.Configurations.Add(new TechnicianMap());
            modelBuilder.Configurations.Add(new Tip_TipListMap());
            modelBuilder.Configurations.Add(new TL_JunctionMap());
            modelBuilder.Configurations.Add(new TL_JunctionTypeMap());
            modelBuilder.Configurations.Add(new TM_TimeMap());
            modelBuilder.Configurations.Add(new TPI_AcctMatchMap());
            modelBuilder.Configurations.Add(new TPI_APPMap());
            modelBuilder.Configurations.Add(new TPI_DEPARTMENTMap());
            modelBuilder.Configurations.Add(new TPI_ICD10Map());
            modelBuilder.Configurations.Add(new TPI_InterfaceMap());
            modelBuilder.Configurations.Add(new TPI_ITEMMap());
            modelBuilder.Configurations.Add(new TPI_LOGMap());
            modelBuilder.Configurations.Add(new TPI_LogLineMap());
            modelBuilder.Configurations.Add(new TPI_LOGTransMap());
            modelBuilder.Configurations.Add(new TPI_PHYSICIANMap());
            modelBuilder.Configurations.Add(new TPI_ROOMMap());
            modelBuilder.Configurations.Add(new TPI_USERMap());
            modelBuilder.Configurations.Add(new TrafficMap());
            modelBuilder.Configurations.Add(new TransferMap());
            modelBuilder.Configurations.Add(new TransferDetMap());
            modelBuilder.Configurations.Add(new TreatmentPlanMap());
            modelBuilder.Configurations.Add(new TretPlanBalanceMap());
            modelBuilder.Configurations.Add(new TRT_DiagnosisMap());
            modelBuilder.Configurations.Add(new TRT_ProcedureMap());
            modelBuilder.Configurations.Add(new TypeCoverageExceptMap());
            modelBuilder.Configurations.Add(new TypePriceExceptMap());
            modelBuilder.Configurations.Add(new UDF_ControlTypeMap());
            modelBuilder.Configurations.Add(new UDF_DataTypeMap());
            modelBuilder.Configurations.Add(new UDF_FieldMap());
            modelBuilder.Configurations.Add(new UDF_FieldTypeMap());
            modelBuilder.Configurations.Add(new UDF_FormOptionsMap());
            modelBuilder.Configurations.Add(new UDF_LookupTypeMap());
            modelBuilder.Configurations.Add(new UDF_PageMap());
            modelBuilder.Configurations.Add(new UDF_PKT_COPYMap());
            modelBuilder.Configurations.Add(new UDF_PKT_FieldMap());
            modelBuilder.Configurations.Add(new UDF_PKT_FieldValueMap());
            modelBuilder.Configurations.Add(new UDF_PKT_HeaderMap());
            modelBuilder.Configurations.Add(new UDF_PKT_ImportMap());
            modelBuilder.Configurations.Add(new UDF_PKT_LinesMap());
            modelBuilder.Configurations.Add(new UDF_RecordTypeMap());
            modelBuilder.Configurations.Add(new UF_FormMap());
            modelBuilder.Configurations.Add(new UF_FormTypeMap());
            modelBuilder.Configurations.Add(new UnitMap());
            modelBuilder.Configurations.Add(new UNIT1Map());
            modelBuilder.Configurations.Add(new UNITSCONVERSIONMap());
            modelBuilder.Configurations.Add(new UserTypeMap());
            modelBuilder.Configurations.Add(new VbatchdetMap());
            modelBuilder.Configurations.Add(new VendMap());
            modelBuilder.Configurations.Add(new VENDTYPEMap());
            modelBuilder.Configurations.Add(new vertexMap());
            modelBuilder.Configurations.Add(new videoMap());
            modelBuilder.Configurations.Add(new ViewParamMap());
            modelBuilder.Configurations.Add(new WardMap());
            modelBuilder.Configurations.Add(new WF_ActionMap());
            modelBuilder.Configurations.Add(new WF_NotificationMap());
            modelBuilder.Configurations.Add(new WF_NotificationStatusMap());
            modelBuilder.Configurations.Add(new WF_PriorityMap());
            modelBuilder.Configurations.Add(new WF_RecordTypeMap());
            modelBuilder.Configurations.Add(new WF_RequestMap());
            modelBuilder.Configurations.Add(new WF_ResponseMap());
            modelBuilder.Configurations.Add(new WF_StatusMap());
            modelBuilder.Configurations.Add(new WF_StepMap());
            modelBuilder.Configurations.Add(new WF_WorkflowMap());
            modelBuilder.Configurations.Add(new WF_WorkFlowTypeMap());
            modelBuilder.Configurations.Add(new WorkerMap());
            modelBuilder.Configurations.Add(new worktypeMap());
            modelBuilder.Configurations.Add(new ap_pymtdecrMap());
            modelBuilder.Configurations.Add(new apInvbatchdetailMap());
            modelBuilder.Configurations.Add(new apInvbatchheaderMap());
            modelBuilder.Configurations.Add(new OperationsMap());
            modelBuilder.Configurations.Add(new RankMaping());
            modelBuilder.Configurations.Add(new SpecialtyMDMap());
            modelBuilder.Configurations.Add(new DoctorsMapping());

            modelBuilder.Configurations.Add(new ARC_SO_BillHEADERMap());
            modelBuilder.Configurations.Add(new ARdetailMap());
            modelBuilder.Configurations.Add(new ARViewMap());
            modelBuilder.Configurations.Add(new ATL_oe_Delete_VWMap());
            modelBuilder.Configurations.Add(new br_AccountingMap());
            modelBuilder.Configurations.Add(new br_AdmDiscMap());
            modelBuilder.Configurations.Add(new br_BillingMap());
            modelBuilder.Configurations.Add(new br_CashierMap());
            modelBuilder.Configurations.Add(new br_FixedAssetMap());
            modelBuilder.Configurations.Add(new br_HRMap());
            modelBuilder.Configurations.Add(new br_ItemsMap());
            modelBuilder.Configurations.Add(new br_MISCMap());
            modelBuilder.Configurations.Add(new br_repairMap());
            modelBuilder.Configurations.Add(new Br_ReportFormsMap());
            modelBuilder.Configurations.Add(new br_TransMap());
            modelBuilder.Configurations.Add(new CMV_GuarPaymentsMap());
            modelBuilder.Configurations.Add(new ct_custbalMap());
            modelBuilder.Configurations.Add(new data_to_insert_into_viewcommandsMap());
            modelBuilder.Configurations.Add(new data_to_insert_into_viewcommands1Map());
            modelBuilder.Configurations.Add(new databasesListMap());
            modelBuilder.Configurations.Add(new GuarApprovedPaymentMap());
            modelBuilder.Configurations.Add(new ItemPricesinallGuarantorMap());
            modelBuilder.Configurations.Add(new ItemPricesinallGuarantor_FMap());
            modelBuilder.Configurations.Add(new mg_configMap());
            modelBuilder.Configurations.Add(new mg_errorsMap());
            modelBuilder.Configurations.Add(new mg_errors_NBMap());
            modelBuilder.Configurations.Add(new mtn_allBatchNbMap());
            modelBuilder.Configurations.Add(new OBj_Tables_RecCount_vMap());
            modelBuilder.Configurations.Add(new OEPhysicianMap());
            modelBuilder.Configurations.Add(new PatcatMap());
            modelBuilder.Configurations.Add(new PatientMap());
            modelBuilder.Configurations.Add(new Physician_StatementMap());
            modelBuilder.Configurations.Add(new PhysicianPriceGuarantorMap());
            modelBuilder.Configurations.Add(new PhysicianPriceGuarantor_FMap());
            modelBuilder.Configurations.Add(new procentrMap());
            modelBuilder.Configurations.Add(new procentr_DevMap());
            modelBuilder.Configurations.Add(new RD_RelationsMap());
            modelBuilder.Configurations.Add(new RD_ViewsLinksMap());
            modelBuilder.Configurations.Add(new Replication_getSysteminFoMap());
            modelBuilder.Configurations.Add(new sc_AppInfoMap());
            modelBuilder.Configurations.Add(new sc_AppListMap());
            modelBuilder.Configurations.Add(new sc_future_appMap());
            modelBuilder.Configurations.Add(new sc_PatInfoMap());
            modelBuilder.Configurations.Add(new selectfromtblMap());
            modelBuilder.Configurations.Add(new so_acctMap());
            modelBuilder.Configurations.Add(new so_acctpaymentsMap());
            modelBuilder.Configurations.Add(new so_AcctWritingMap());
            modelBuilder.Configurations.Add(new so_AdjHeaderMap());
            modelBuilder.Configurations.Add(new SO_ADM_NO_EDXMap());
            modelBuilder.Configurations.Add(new SO_ADMEXDCOVERMap());
            modelBuilder.Configurations.Add(new SO_ADMISIONMap());
            modelBuilder.Configurations.Add(new SO_ADMISIONDentMap());
            modelBuilder.Configurations.Add(new SO_admisionPickMap());
            modelBuilder.Configurations.Add(new SO_admisionPickDentMap());
            modelBuilder.Configurations.Add(new so_AdmPaymentsMap());
            modelBuilder.Configurations.Add(new so_AllAppStatMap());
            modelBuilder.Configurations.Add(new so_AllGuarBal_Map());
            modelBuilder.Configurations.Add(new so_allGuarBal__Map());
            modelBuilder.Configurations.Add(new so_AllPatBal_Map());
            modelBuilder.Configurations.Add(new so_AllPaymentsMap());
            modelBuilder.Configurations.Add(new so_AllPhysBal__Map());
            modelBuilder.Configurations.Add(new so_AllPhysBal___Map());
            modelBuilder.Configurations.Add(new so_AllRepairjobsMap());
            modelBuilder.Configurations.Add(new so_allticketsMap());
            modelBuilder.Configurations.Add(new SO_AppTodayMap());
            modelBuilder.Configurations.Add(new SO_AppTomorrowMap());
            modelBuilder.Configurations.Add(new SO_APR_Bill_BALGMap());
            modelBuilder.Configurations.Add(new so_artindexerMap());
            modelBuilder.Configurations.Add(new so_AtdAppstatMap());
            modelBuilder.Configurations.Add(new so_batchdetMap());
            modelBuilder.Configurations.Add(new so_batchdet_FMap());
            modelBuilder.Configurations.Add(new so_batchesMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUARMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUAR_FASTMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUAR1Map());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUAR1_FASTMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUAR2Map());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_GUAR2_FASTMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_PATMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_PAT_FMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_PAT_TFMap());
            modelBuilder.Configurations.Add(new SO_Bill_BAL_STAFFMap());
            modelBuilder.Configurations.Add(new SO_Bill_BalanceMap());
            modelBuilder.Configurations.Add(new SO_BillDETAILMap());
            modelBuilder.Configurations.Add(new SO_BillDETAILsumsMap());
            modelBuilder.Configurations.Add(new SO_BillHeaderMap());
            modelBuilder.Configurations.Add(new SO_BillNotcloseMap());
            modelBuilder.Configurations.Add(new SO_Bills_no_ArMap());
            modelBuilder.Configurations.Add(new SO_BillunfinishedMap());
            modelBuilder.Configurations.Add(new so_consolidatecustMap());
            modelBuilder.Configurations.Add(new so_ConsolidatevendMap());
            modelBuilder.Configurations.Add(new SO_CONTRACTMap());
            modelBuilder.Configurations.Add(new SO_CONTRACTDETMap());
            modelBuilder.Configurations.Add(new so_CostCenterMap());
            modelBuilder.Configurations.Add(new so_costtypeMap());
            modelBuilder.Configurations.Add(new SO_COVERAGEPLANMap());
            modelBuilder.Configurations.Add(new so_crPatientsMap());
            modelBuilder.Configurations.Add(new so_currencyMap());
            modelBuilder.Configurations.Add(new SO_CURRENTadmisionMap());
            modelBuilder.Configurations.Add(new SO_CurrentBillsMap());
            modelBuilder.Configurations.Add(new SO_CURRENTdentMap());
            modelBuilder.Configurations.Add(new SO_DENTALLABMap());
            modelBuilder.Configurations.Add(new so_departmentMap());
            modelBuilder.Configurations.Add(new SO_DIAGNOSISMap());
            modelBuilder.Configurations.Add(new SO_DiagnosisCategMap());
            modelBuilder.Configurations.Add(new SO_DiagnosisTypeMap());
            modelBuilder.Configurations.Add(new So_Dl_AllWOMap());
            modelBuilder.Configurations.Add(new So_Dl_CompWOMap());
            modelBuilder.Configurations.Add(new So_Dl_deliveredWOMap());
            modelBuilder.Configurations.Add(new So_DL_NewWOMap());
            modelBuilder.Configurations.Add(new So_DL_StartedWOMap());
            modelBuilder.Configurations.Add(new so_DynaComMap());
            modelBuilder.Configurations.Add(new so_exchangeorderMap());
            modelBuilder.Configurations.Add(new so_EyeFormMap());
            modelBuilder.Configurations.Add(new so_EyeTreatMap());
            modelBuilder.Configurations.Add(new SO_facatMap());
            modelBuilder.Configurations.Add(new So_FacEngagedMap());
            modelBuilder.Configurations.Add(new So_FacilitiesMap());
            modelBuilder.Configurations.Add(new So_FacilitiesEmptyMap());
            modelBuilder.Configurations.Add(new So_FacilitiesEngagedMap());
            modelBuilder.Configurations.Add(new SO_FACILITYMap());
            modelBuilder.Configurations.Add(new So_FeesPlansMap());
            modelBuilder.Configurations.Add(new so_fieldnamesMap());
            modelBuilder.Configurations.Add(new SO_FixedAssetsMap());
            modelBuilder.Configurations.Add(new so_gal_airlineMap());
            modelBuilder.Configurations.Add(new so_gal_amtrakMap());
            modelBuilder.Configurations.Add(new so_gal_farebasisMap());
            modelBuilder.Configurations.Add(new so_gal_fareconstMap());
            modelBuilder.Configurations.Add(new so_gal_farevalueMap());
            modelBuilder.Configurations.Add(new so_gal_headerMap());
            modelBuilder.Configurations.Add(new SO_gal_memoMap());
            modelBuilder.Configurations.Add(new so_gal_netremitMap());
            modelBuilder.Configurations.Add(new so_gal_passengerMap());
            modelBuilder.Configurations.Add(new so_gal_paymentMap());
            modelBuilder.Configurations.Add(new so_gal_phoneMap());
            modelBuilder.Configurations.Add(new so_gal_ticketremMap());
            modelBuilder.Configurations.Add(new so_gal_vatMap());
            modelBuilder.Configurations.Add(new SO_GUAR1_STATMENTMap());
            modelBuilder.Configurations.Add(new SO_GUAR2_STATEMENTMap());
            modelBuilder.Configurations.Add(new SO_GUARANTORMap());
            modelBuilder.Configurations.Add(new so_GuarOeMap());
            modelBuilder.Configurations.Add(new So_GUARPaymentsMap());
            modelBuilder.Configurations.Add(new so_GuarStatementMap());
            modelBuilder.Configurations.Add(new so_HeaderStatementMap());
            modelBuilder.Configurations.Add(new so_HR_EmployeeMap());
            modelBuilder.Configurations.Add(new so_hr_insuredMap());
            modelBuilder.Configurations.Add(new so_hr_saoudisMap());
            modelBuilder.Configurations.Add(new so_hr_saoudizationMap());
            modelBuilder.Configurations.Add(new so_hr_sponotherMap());
            modelBuilder.Configurations.Add(new SO_INVOICEDETAILMap());
            modelBuilder.Configurations.Add(new SO_INVOICEHEADERMap());
            modelBuilder.Configurations.Add(new so_iohSmenMap());
            modelBuilder.Configurations.Add(new so_iooSmenMap());
            modelBuilder.Configurations.Add(new so_ippaymentsMap());
            modelBuilder.Configurations.Add(new SO_ITEMMap());
            modelBuilder.Configurations.Add(new SO_ITEM_STATMap());
            modelBuilder.Configurations.Add(new so_ItemActivityMap());
            modelBuilder.Configurations.Add(new so_itemCategMap());
            modelBuilder.Configurations.Add(new so_itemCostsMap());
            modelBuilder.Configurations.Add(new so_ItemDimMap());
            modelBuilder.Configurations.Add(new SO_ITEMHiltiMap());
            modelBuilder.Configurations.Add(new so_iteminfoshortMap());
            modelBuilder.Configurations.Add(new so_itemLongMap());
            modelBuilder.Configurations.Add(new so_ItemOnHandMap());
            modelBuilder.Configurations.Add(new so_itemOnhandFastMap());
            modelBuilder.Configurations.Add(new so_itemOnhandFdetMap());
            modelBuilder.Configurations.Add(new SO_ITEMPRICELISTMap());
            modelBuilder.Configurations.Add(new so_itemtypeMap());
            modelBuilder.Configurations.Add(new so_JobCostMap());
            modelBuilder.Configurations.Add(new so_JobsCLosedMap());
            modelBuilder.Configurations.Add(new so_JobsForDeliveryMap());
            modelBuilder.Configurations.Add(new so_JobsToApproveMap());
            modelBuilder.Configurations.Add(new so_JobsToQuoteMap());
            modelBuilder.Configurations.Add(new so_JobsUnderWorkMap());
            modelBuilder.Configurations.Add(new SO_LabReqMap());
            modelBuilder.Configurations.Add(new SO_LabTestMap());
            modelBuilder.Configurations.Add(new so_linksMap());
            modelBuilder.Configurations.Add(new so_List_of_PriceMap());
            modelBuilder.Configurations.Add(new so_LocationMap());
            modelBuilder.Configurations.Add(new so_ManBatchDetMap());
            modelBuilder.Configurations.Add(new so_MastercustMap());
            modelBuilder.Configurations.Add(new SO_MASTERVENDORMap());
            modelBuilder.Configurations.Add(new SO_MedicalMap());
            modelBuilder.Configurations.Add(new SO_memoMap());
            modelBuilder.Configurations.Add(new so_MissAppStatMap());
            modelBuilder.Configurations.Add(new so_newpatphyMap());
            modelBuilder.Configurations.Add(new so_NonheadacctMap());
            modelBuilder.Configurations.Add(new So_OeMap());
            modelBuilder.Configurations.Add(new So_Oe_FMap());
            modelBuilder.Configurations.Add(new So_Oe_NTMap());
            modelBuilder.Configurations.Add(new so_OEbatchdetMap());
            modelBuilder.Configurations.Add(new so_oeGUarMap());
            modelBuilder.Configurations.Add(new SO_PATIENTMap());
            modelBuilder.Configurations.Add(new SO_PATIENT_STATMENTMap());
            modelBuilder.Configurations.Add(new SO_PATIENTDentMap());
            modelBuilder.Configurations.Add(new SO_PATIENTLongMap());
            modelBuilder.Configurations.Add(new SO_PatientProgressMap());
            modelBuilder.Configurations.Add(new so_PatienttransMap());
            modelBuilder.Configurations.Add(new SO_patLgDentMap());
            modelBuilder.Configurations.Add(new SO_PatOeMap());
            modelBuilder.Configurations.Add(new SO_PatOe_FMap());
            modelBuilder.Configurations.Add(new so_PatPaymentsMap());
            modelBuilder.Configurations.Add(new SO_PATREFERRALMap());
            modelBuilder.Configurations.Add(new so_PatStatementMap());
            modelBuilder.Configurations.Add(new SO_Payment_VoucherMap());
            modelBuilder.Configurations.Add(new SO_PH_AMTMap());
            modelBuilder.Configurations.Add(new so_ph_expiredMap());
            modelBuilder.Configurations.Add(new so_ph_OHMap());
            modelBuilder.Configurations.Add(new so_ph_ooMap());
            modelBuilder.Configurations.Add(new SO_PHAMTMap());
            modelBuilder.Configurations.Add(new so_pharmainvMap());
            modelBuilder.Configurations.Add(new so_PharmapayMap());
            modelBuilder.Configurations.Add(new SO_PHGuar1AMTMap());
            modelBuilder.Configurations.Add(new SO_PHGuar2AMTMap());
            modelBuilder.Configurations.Add(new so_phooMap());
            modelBuilder.Configurations.Add(new SO_PHPatAMTMap());
            modelBuilder.Configurations.Add(new SO_PHYSICIANMap());
            modelBuilder.Configurations.Add(new SO_PHYSICIAN_AMOUNTMap());
            modelBuilder.Configurations.Add(new SO_PHYSICIAN_BillMap());
            modelBuilder.Configurations.Add(new SO_PHYSICIAN_Bill_Map());
            modelBuilder.Configurations.Add(new so_Physician_StateMap());
            modelBuilder.Configurations.Add(new SO_PHYSICIAN_TotalMap());
            modelBuilder.Configurations.Add(new so_PhysicianStatMap());
            modelBuilder.Configurations.Add(new so_PhysicianStat1Map());
            modelBuilder.Configurations.Add(new SO_PICK_BATCHMap());
            modelBuilder.Configurations.Add(new SO_PickReinvoiceMap());
            modelBuilder.Configurations.Add(new SO_PickReturnItemMap());
            modelBuilder.Configurations.Add(new so_pickticketMap());
            modelBuilder.Configurations.Add(new so_Pmts_no_ARMap());
            modelBuilder.Configurations.Add(new SO_POMap());
            modelBuilder.Configurations.Add(new SO_PODETAILMap());
            modelBuilder.Configurations.Add(new so_posMap());
            modelBuilder.Configurations.Add(new so_poscashMap());
            modelBuilder.Configurations.Add(new so_prMap());
            modelBuilder.Configurations.Add(new So_Pr_No_ARMap());
            modelBuilder.Configurations.Add(new SO_PRDETAILMap());
            modelBuilder.Configurations.Add(new SO_PrescMap());
            modelBuilder.Configurations.Add(new SO_PRETURNDETAILMap());
            modelBuilder.Configurations.Add(new SO_PRICELSTMap());
            modelBuilder.Configurations.Add(new so_PrintRecordMap());
            modelBuilder.Configurations.Add(new SO_ProcentrMap());
            modelBuilder.Configurations.Add(new so_ProductionItemsMap());
            modelBuilder.Configurations.Add(new so_ProductionJobsMap());
            modelBuilder.Configurations.Add(new so_ProductionPSMap());
            modelBuilder.Configurations.Add(new so_projectMap());
            modelBuilder.Configurations.Add(new So_ProvisionPlansMap());
            modelBuilder.Configurations.Add(new so_psMap());
            modelBuilder.Configurations.Add(new SO_PS_BAL_CUSTMap());
            modelBuilder.Configurations.Add(new so_pscashMap());
            modelBuilder.Configurations.Add(new so_PsdetMap());
            modelBuilder.Configurations.Add(new so_psOnAccountMap());
            modelBuilder.Configurations.Add(new so_PSpaymentsMap());
            modelBuilder.Configurations.Add(new SO_RadReqMap());
            modelBuilder.Configurations.Add(new SO_RadTestMap());
            modelBuilder.Configurations.Add(new SO_RecallMap());
            modelBuilder.Configurations.Add(new SO_RecallNextMap());
            modelBuilder.Configurations.Add(new So_RecallWeekMap());
            modelBuilder.Configurations.Add(new SO_Receipt_VoucherMap());
            modelBuilder.Configurations.Add(new SO_REFERALSMap());
            modelBuilder.Configurations.Add(new SO_REFERALSPHYSICIANMap());
            modelBuilder.Configurations.Add(new so_refundedticketMap());
            modelBuilder.Configurations.Add(new SO_ReturnMap());
            modelBuilder.Configurations.Add(new SO_RXCategoryMap());
            modelBuilder.Configurations.Add(new SO_RXListMap());
            modelBuilder.Configurations.Add(new so_salesmenMap());
            modelBuilder.Configurations.Add(new SO_ScheduleMap());
            modelBuilder.Configurations.Add(new so_slindexerMap());
            modelBuilder.Configurations.Add(new so_staffPaymentsMap());
            modelBuilder.Configurations.Add(new so_subacctstateMap());
            modelBuilder.Configurations.Add(new so_testMap());
            modelBuilder.Configurations.Add(new so_ticket_invoicesMap());
            modelBuilder.Configurations.Add(new so_ticketsMap());
            modelBuilder.Configurations.Add(new so_ToolbarMap());
            modelBuilder.Configurations.Add(new So_TransfersMap());
            modelBuilder.Configurations.Add(new so_TreatHistoryMap());
            modelBuilder.Configurations.Add(new SO_UNLINKEDPAYMap());
            modelBuilder.Configurations.Add(new so_venddocsMap());
            modelBuilder.Configurations.Add(new so_vendstatementMap());
            modelBuilder.Configurations.Add(new so_vendstatementrepMap());
            modelBuilder.Configurations.Add(new so_VisitestatMap());
            modelBuilder.Configurations.Add(new so_WardMap());
            modelBuilder.Configurations.Add(new SO_ZERORATESMap());
            modelBuilder.Configurations.Add(new sp_ph_expiredMap());
            modelBuilder.Configurations.Add(new tbs_App_Gt_claimMap());
            modelBuilder.Configurations.Add(new tbs_Batch_DB_CRMap());
            modelBuilder.Configurations.Add(new Tbs_BillstoReviewMap());
            modelBuilder.Configurations.Add(new tbs_Disabled_triggersMap());
            modelBuilder.Configurations.Add(new tbs_DupBatchesMap());
            modelBuilder.Configurations.Add(new tbs_InvalidAcctsMap());
            modelBuilder.Configurations.Add(new tbs_MissingPKeysMap());
            modelBuilder.Configurations.Add(new Tbs_NoRatesMap());
            modelBuilder.Configurations.Add(new tbs_PmtstoReviewMap());
            modelBuilder.Configurations.Add(new tbs_ReportsWithNoSecMap());
            modelBuilder.Configurations.Add(new tbs_ToolbarWithNoSecMap());
            modelBuilder.Configurations.Add(new tbs_UnevenBillsMap());
            modelBuilder.Configurations.Add(new tbs_UnevenPRMap());
            modelBuilder.Configurations.Add(new too_nssfBillMap());
            modelBuilder.Configurations.Add(new too_ViewsWithNoSecMap());
            modelBuilder.Configurations.Add(new tretPlanMap());
            modelBuilder.Configurations.Add(new UP_ExTablesMap());
            modelBuilder.Configurations.Add(new userMap());
            modelBuilder.Configurations.Add(new v_appymtMap());
            modelBuilder.Configurations.Add(new v_Psdet_InventoryItemsMap());
            modelBuilder.Configurations.Add(new vAcctBalanceMap());
            modelBuilder.Configurations.Add(new vAcctDetailMap());
            modelBuilder.Configurations.Add(new vBalanceSheetMap());
            modelBuilder.Configurations.Add(new VBatchttlMap());
            modelBuilder.Configurations.Add(new VBatchttl_Map());
            modelBuilder.Configurations.Add(new VBatchttl_headerMap());
            modelBuilder.Configurations.Add(new VBillOMPriceMap());
            modelBuilder.Configurations.Add(new vBillTotalTypeMap());
            modelBuilder.Configurations.Add(new vBillTotalType_FMap());
            modelBuilder.Configurations.Add(new vCurrencyRateMap());
            modelBuilder.Configurations.Add(new vCustTranMap());
            modelBuilder.Configurations.Add(new vExpired_Item_ControlMap());
            modelBuilder.Configurations.Add(new vExpiredControlMap());
            modelBuilder.Configurations.Add(new vglMap());
            modelBuilder.Configurations.Add(new vIncomeStatementMap());
            modelBuilder.Configurations.Add(new vInventoryMap());
            modelBuilder.Configurations.Add(new vInventoryReqDynamicMap());
            modelBuilder.Configurations.Add(new vIprcptMap());
            modelBuilder.Configurations.Add(new VitemActivityMap());
            modelBuilder.Configurations.Add(new vItemAdjustmentMap());
            modelBuilder.Configurations.Add(new vItemAllMap());
            modelBuilder.Configurations.Add(new vItemDimensionMap());
            modelBuilder.Configurations.Add(new vItemInvoiceMap());
            modelBuilder.Configurations.Add(new vItemNetSoldQtyMap());
            modelBuilder.Configurations.Add(new vItemReturnMap());
            modelBuilder.Configurations.Add(new vItemMap());
            modelBuilder.Configurations.Add(new vItemSaleMap());
            modelBuilder.Configurations.Add(new vItemSoldQtyMap());
            modelBuilder.Configurations.Add(new vItemTransferMap());
            modelBuilder.Configurations.Add(new vJobCostMap());
            modelBuilder.Configurations.Add(new vkAdmisionMap());
            modelBuilder.Configurations.Add(new vkCustMap());
            modelBuilder.Configurations.Add(new vkIPrcptMap());
            modelBuilder.Configurations.Add(new vkItemMap());
            modelBuilder.Configurations.Add(new vkOedetMap());
            modelBuilder.Configurations.Add(new vkPsdetMap());
            modelBuilder.Configurations.Add(new vNetSaleMap());
            modelBuilder.Configurations.Add(new vNetsalesSummationMap());
            modelBuilder.Configurations.Add(new vOeDet_ItemDescMap());
            modelBuilder.Configurations.Add(new vPhysicianAmountMap());
            modelBuilder.Configurations.Add(new vPOReceiptMap());
            modelBuilder.Configurations.Add(new vPoReceiptsHeaderMap());
            modelBuilder.Configurations.Add(new vPOSMap());
            modelBuilder.Configurations.Add(new vPMap());
            modelBuilder.Configurations.Add(new vPsdet_InventoryItemsMap());
            modelBuilder.Configurations.Add(new vPurchaseOrderMap());
            modelBuilder.Configurations.Add(new vSale_Dsicount_HistoryMap());
            modelBuilder.Configurations.Add(new vStaffDueMap());
            modelBuilder.Configurations.Add(new vt_AcctBAlMap());
            modelBuilder.Configurations.Add(new vt_acctbal2Map());
            modelBuilder.Configurations.Add(new vt_AcctTransMap());
            modelBuilder.Configurations.Add(new vt_CAGLDiffMap());
            modelBuilder.Configurations.Add(new vt_CAIntegrityMap());
            modelBuilder.Configurations.Add(new vt_caintegrity2Map());
            modelBuilder.Configurations.Add(new vt_CustAcctBaldifMap());
            modelBuilder.Configurations.Add(new vt_CustBalMap());
            modelBuilder.Configurations.Add(new vt_DEIntegrityMap());
            modelBuilder.Configurations.Add(new vt_glMap());
            modelBuilder.Configurations.Add(new vt_GLIntegrity1Map());
            modelBuilder.Configurations.Add(new vt_GLIntegrity2Map());
            modelBuilder.Configurations.Add(new vt_GLIntegrity3Map());
            modelBuilder.Configurations.Add(new vt_glintegrity4Map());
            modelBuilder.Configurations.Add(new vt_glintegrity5Map());
            modelBuilder.Configurations.Add(new vt_glintegrity6Map());
            modelBuilder.Configurations.Add(new vt_glintegrity7Map());
            modelBuilder.Configurations.Add(new vt_ipIntegrityMap());
            modelBuilder.Configurations.Add(new vt_ipIntegrity1Map());
            modelBuilder.Configurations.Add(new vt_ratesIntegrityMap());
            modelBuilder.Configurations.Add(new vt_test1Map());
            modelBuilder.Configurations.Add(new vt_test2Map());
            modelBuilder.Configurations.Add(new vt_test3Map());
            modelBuilder.Configurations.Add(new vt_test4Map());
            modelBuilder.Configurations.Add(new vt_test5Map());
            modelBuilder.Configurations.Add(new vt_test6Map());
            modelBuilder.Configurations.Add(new vt_vglintegrityMap());
            modelBuilder.Configurations.Add(new vtq_Find__Accounts_where_CA_GL__balances__not_EqualMap());
            modelBuilder.Configurations.Add(new vtQ_What_customers_are_sharing__the__same_AR_accountsMap());
            modelBuilder.Configurations.Add(new vtq_What_customers_have_changed_their__ar_account_after_Posting_some_of_their_TranscationsMap());
            modelBuilder.Configurations.Add(new VUbatchdetMap());
            modelBuilder.Configurations.Add(new VUbatchdet_FMap());
            modelBuilder.Configurations.Add(new VUbatchttlMap());
            modelBuilder.Configurations.Add(new vUserTypeInfoMap());
            modelBuilder.Configurations.Add(new vwrenumbatchMap());

            modelBuilder.Configurations.Add(new CustomerListMap());
          
     
        }


        public DbSet<id_type> id_type { get; set; }

        public DbSet<currency> currencies { get; set; }
    }
}
